on 01-30-2006 6:54 AM
Hi All,
I need to get the <b>currently logged on users</b> in the portal. I have tried the iView provided by the portal. My application is to extract the user information, hence I need to retrive it through coding.
Is there any API for doing this? I have used the <b>IAuthentication.getLoggedInUser(request,response)</b> method, but it returns only my id.
I'm able to get the complete list of all portal users registerd, but not the list of logged in users.
Do suggest some solution for this. I'm using <b>EP6.0, SP14</b>.
Thanks & regards,
Vijai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to System Admin>Sys Config>Web Dynpro Console. Click on users and it will show you the users currently logged on. Hope that'll help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Check out this following link....
http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/overview-tree.html
Try using methods like getLoggedInUser(...) for the same.
I have sample codes for UME API s... If u want contact me at...
cool.jagdeep@yahoo.com
regs,
jaga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
You can get the user details and you can also modify the user details who looged in to the portal thro coding.
Here see the sample code..
User Information can be modified using IUserMaint interface. and the associated set methods.
Use commit() to update the user after making al changes.
IUserFactory userFact = UMFactory.getUserFactory();
String userid = "testuser01";
IUserMaint user = userFact.getMutableuser(UserFact.getUserByLogonID(userId)getUniqueID());
User.setFirstName("Karthick");
User.setLastName("Eswaran");
User.setCity("Bangalore");
User.setState("Karnataka");
user.commit();
regards,
Karthick K Eswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.