Share via


GroupUserOperationsExtensions.ListAsync Method

Definition

Lists a collection of user entities associated with the group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.UserContract>> ListAsync (this Microsoft.Azure.Management.ApiManagement.IGroupUserOperations operations, string resourceGroupName, string serviceName, string groupId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.UserContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApiManagement.IGroupUserOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.UserContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.UserContract>>
<Extension()>
Public Function ListAsync (operations As IGroupUserOperations, resourceGroupName As String, serviceName As String, groupId As String, Optional odataQuery As ODataQuery(Of UserContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of UserContract))

Parameters

operations
IGroupUserOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

groupId
String

Group identifier. Must be unique in the current API Management service instance.

odataQuery
ODataQuery<UserContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to