On Monday, January 6, 2003, at 01:50 PM, Gary Lawrence Murphy wrote:
Run it from a command line utility, or from an action."D" == David Sean Taylor <[EMAIL PROTECTED]> writes:D> Iterator users = JetspeedSecurity.getUsers(); while D> (users.hasNext()) { ...Oh, that's clever -- thanks! I suppose I could place that code into the init function of some pull service? It's only needed when the site is rebuilt from scratch, and it's essential it's never run more than once (like when the server is rebooted), but it also can't be in a secure portlet because admin needs to login before they can run the admin portlets. Are there any recommended places to put one-shot temp code like this?
I can send you an action class (that Mark wrote) if you are interested....
We haven't checked it in since it can corrupt passwords if ran twice
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
+01 707 773-4646
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
