/// <summary> /// Get all users for a lab. /// </summary> /// <remarks> /// Returns a list of all users for a lab. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='labName'> /// The name of the lab that uniquely identifies it within containing lab /// account. Used in resource URIs. /// </param> /// <param name='filter'> /// The filter to apply to the operation. /// </param> public static IPage <User> ListByLab(this IUsersOperations operations, string resourceGroupName, string labName, string filter = default(string)) { return(operations.ListByLabAsync(resourceGroupName, labName, filter).GetAwaiter().GetResult()); }