共用方式為


GroupsOperationsExtensions.GetGroupMembersAsync Method

Definition

Gets the members of a group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>> GetGroupMembersAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member GetGroupMembersAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>>
<Extension()>
Public Function GetGroupMembersAsync (operations As IGroupsOperations, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DirectoryObject))

Parameters

operations
IGroupsOperations

The operations group for this extension method.

objectId
String

The object ID of the group whose members should be retrieved.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to