你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GroupsOperationsExtensions.GetMemberGroupsAsync 方法

定义

获取指定组所属的组的对象 ID 的集合。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> GetMemberGroupsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations operations, string objectId, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupGetMemberGroupsParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetMemberGroupsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupGetMemberGroupsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
<Extension()>
Public Function GetMemberGroupsAsync (operations As IGroupsOperations, objectId As String, parameters As GroupGetMemberGroupsParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))

参数

operations
IGroupsOperations

此扩展方法的操作组。

objectId
String

要为其获取组成员身份的组的对象 ID。

parameters
GroupGetMemberGroupsParameters

组筛选参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于