Skip to Content

NW 7.3 - Is there a way to get all logged in users?(Like session Management)

Hello All,

I know is there several threads about this subject but none was valid for me.

I need to know who are logged in like session management work.

I tried some solutions like this:

<% 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){ %>       <br><%=sapUser.getDisplayName()%>       <%} } %>

But this solution retrieves all users of Portal and not only the logged in users.

Somebody already has success on it?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer