public static List < UIUserSession > getUIUserSessions ( ) { final List < UIUserSession > ret = new ArrayList <> ( ) ; final Collection < UserSession > userSessions = RegistryManager . getUserSessions ( ) ; for ( final UserSession userSession : userSessions ) { ret . add ( new UIUserSession ( userSession . getUserName ( ) , userSession . getSessionId ( ) , userSession . getLastActivity ( ) ) ) ; } return ret ; }
Gets the UI user sessions .