code: @Path("sharingProfiles")
      public DirectoryResource<SharingProfile, APISharingProfile>
          getSharingProfileDirectoryResource() throws GuacamoleException {
          return sharingProfileDirectoryResourceFactory.create(userContext,
                  userContext.getSharingProfileDirectory());
      }
docs: Returns a new resource which represents the SharingProfile Directory
  contained within the UserContext exposed by this UserContextResource.
  
  @return
  A new resource which represents the SharingProfile Directory
  contained within the UserContext exposed by this UserContextResource.
  
  @throws GuacamoleException
  If an error occurs while retrieving the SharingProfile Directory.