Quantcast
Channel: SCN : All Content - Web Dynpro Java
Viewing all articles
Browse latest Browse all 1288

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 1288

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>