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.