Sdílet prostřednictvím


GroupsOperationsExtensions.GetGroupMembersAsync Method

Definition

Gets the members of a group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.DirectoryObject>> GetGroupMembersAsync (this Microsoft.Azure.Graph.RBAC.IGroupsOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member GetGroupMembersAsync : Microsoft.Azure.Graph.RBAC.IGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.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