cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a list of users logged in (EP6 SP2)

Former Member
0 Kudos

Hi,

I want to create an iView that lists all the users who are currently logged in. I found the method "getLoggedInUser()" of the interface "IAuthentication" but I don´t know how this method can help me for my purpose. All I get back from this method is an object IUser of

myself

!

Has someone an idea how to manage this purpose?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

why would you want to write such an iview when the exact same function already exists in the portal. try System Admin / Monitoring, Portal / Logged On Users. you can simply reuse it.

have fun.

Former Member
0 Kudos

If you've tried doing this in a clustered environment you probably would see why. It lists the users per application server.

As far as I know there is no easy way to do this. Think you need to contact each cluster separately.

Is SAP planning to improve the logged on users iview ?

(otherwise I might hack something up when I have the time)

Former Member
0 Kudos

Thanks a lot for your help. I really haven´t yet known about this iview.

But my problem isn´t already resolved: my complete goal was to create an iview for sending PopUp-Messages between the users logged in. So I need a list of the users logged in. The users are linked to another iview for writing and sending a message (the iviews are connected via EPCF) so that there is no need to enter the user again.

I searched for the par-file that belongs to this iview, but I only found the portalapp.xml and the jar-file without any documentation how to use.

Do you have an idea where I can find the javadoc and/or the source files and/or the complete par file to this iview?

That would help me a lot. Thanks in advance.