cancel
Showing results for 
Search instead for 
Did you mean: 

getting logged on users

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijai,

Check this link.

Regards,

Karthick K Eswaran

Former Member
0 Kudos

Hi Vijai,

Check this link too..

Regards,

Karthick

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi

this is ashok i am new to this EP in the process of learning the EP i am working on UME api ..if u have any examples can u send me ...it will be great to work with examples...and one more question where can i get UniqueID.

My mail id is ashok_malempati@yahoo.com

Regards,

Ashok

Former Member
0 Kudos

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