public Set < String > getIdentifiersWithin ( ModeledAuthenticatedUser user , String identifier ) throws GuacamoleException { // Bypass permission checks if the user is a system admin if ( user . getUser ( ) . isAdministrator ( ) ) return connectionGroupMapper . selectIdentifiersWithin ( identifier ) ; // Otherwise only return explicitly readable identifiers else return connectionGroupMapper . selectReadableIdentifiersWithin ( user . getUser ( ) . getModel ( ) , identifier , user . getEffectiveUserGroups ( ) ) ; }
Returns the set of all identifiers for all connection groups within the connection group having the given identifier . Only connection groups that the user has read access to will be returned .