/// <param name='operations'> /// Reference to the AzureWebApp.IUserOperations. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <IList <User> > GetAllUsersAsync(this IUserOperations operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <AzureWebApp.Models.User> > result = await operations.GetAllUsersWithOperationResponseAsync(cancellationToken).ConfigureAwait(false); return(result.Body); }