String users [] = (String[])SessionRegistry.getAllPrincipals();
                        List online;
                        for(int i=0;i<users.length;i++)
                                if(getAllSessions(users[i],
Boolean.FALSE)!=null)
                                online.add(users[i]);

this is how I get online users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to