src/main/java/org/efaps/ui/wicket/models/objects/UIUserSession.java
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;
    }
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.

@return list of currently registered Users