/// <summary> /// Delete entity from users /// </summary> /// <remarks> /// Represents an Azure Active Directory user object. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userId'> /// key: id of user /// </param> /// <param name='ifMatch'> /// ETag /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteUserAsync(this IUsersOperations operations, string userId, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteUserWithHttpMessagesAsync(userId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); }