on 04-29-2008 6:03 AM
hi
Is there any way to get all currenly logged in users in portal, in my web dynpro application .
Warm Regards
Shanto Aloor
Check these links:
/thread/719649 [original link is broken]
/thread/739242 [original link is broken]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the follwing code to get all the portal logged in users.
IUserFactory uf = UMFactory.getUserFactory();
ISearchResult ids = uf.getUniqueIDs();
while (ids.hasNext()) {
String uid = (String) ids.next();
IUser sapUser = uf.getUser(uid);
if (sapUser.getUserAccounts()[0] != null) {
wdComponentAPI.getMessageManager().reportSuccess("Logon UID: " + sapUser.getUserAccounts()[0].getLogonUid());
}
}
Thanks n Regards,
Jhansi Miryala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.