@ Path ( "self" ) public DirectoryObjectResource < User , APIUser > getSelfResource ( ) throws GuacamoleException { return userResourceFactory . create ( userContext , userContext . getUserDirectory ( ) , userContext . self ( ) ) ; }
Returns a new resource which represents the User whose access rights control the operations of the UserContext exposed by this UserContextResource .