Hi, Matthew. Sorry to be so long in responding. I've been on vacation.
There is no "good" way to get the user's id, but it's pretty easy to do, nonetheless. You'll have to go outside of the plugin architecture and get the user object from Session manager. First, you'll need to call the appropriate checkSession() method in ArchiveContext to versify your user's login status. This will return the user's session id as a long. Once you have this, do something like the following: User user = SessionManager.getInstance().getUserForSession(sessionID); String userID = user.getUserName(); Oh, and yes, as you said, the user id is the user's login. Hope this is helpful. --Rob PS: I really should add a getUser() method or some such thing to the ArchiveContext object. --- Matthew Johnston <[EMAIL PROTECTED]> wrote: > How do I get ahold of the user's ID in my action plugin? > > Is the ID a number or just the user's login name? > > Thanks > > _________________________________________________________________ > Discover the best of the best at MSN Luxury Living. http://lexus.msn.com/ > > __________________________________ Do you Yahoo!? Yahoo! Mail � Now with 25x more storage than before! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ SourceJammer-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel
