共用方式為


UserOperationsExtensions.ListByServiceAsync Method

Definition

Lists a collection of registered users in the specified service instance.

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

Parameters

operations
IUserOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

odataQuery
ODataQuery<UserContract>

OData parameters to apply to the operation.

expandGroups
Nullable<Boolean>

Detailed Group in response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to