public async Task <TeamNameResource[]> Get(UserResource user)
 {
     if (user == null)
     {
         throw new ArgumentNullException(nameof(user));
     }
     return(await Client.Get <TeamNameResource[]>(user.Link("Teams"), GetAdditionalQueryParameters()).ConfigureAwait(false));
 }
 public UserPermissionSetResource GetConfiguration(UserResource user)
 {
     if (user == null)
     {
         throw new ArgumentNullException(nameof(user));
     }
     return(Client.Get <UserPermissionSetResource>(user.Link("PermissionsConfiguration"), AdditionalQueryParameters));
 }
 public async Task <UserPermissionSetResource> Get(UserResource user)
 {
     if (user == null)
     {
         throw new ArgumentNullException(nameof(user));
     }
     return(await Client.Get <UserPermissionSetResource>(user.Link("Permissions"), GetAdditionalQueryParameters()).ConfigureAwait(false));
 }
Exemplo n.º 4
0
 public TeamNameResource[] Get(UserResource user)
 {
     if (user == null)
     {
         throw new ArgumentNullException(nameof(user));
     }
     return(Client.Get <TeamNameResource[]>(user.Link("Teams"), AdditionalQueryParameters));
 }