Exemplo n.º 1
0
 /// <summary>
 /// Get all Users on an account
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// Account Id
 /// </param>
 /// <param name='username'>
 /// The username(email) of the user to remove
 /// </param>
 /// <param name='role'>
 /// The role to remove the user from. Possible values include:
 /// 'Administrator', 'User', 'ReadOnly'
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <object> DeleteUserAsyncByidusernameroleAsync(this IAccounts operations, int id, string username, string role, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.DeleteUserAsyncByidusernameroleWithHttpMessagesAsync(id, username, role, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }