命名空间: Microsoft.VisualStudio.Services.Identity.Client
程序集: Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)
语法
声明
Public Function CreateGroupsAsync ( _
scopeId As Guid, _
groups As IList(Of Identity), _
userState As Object _
) As Task(Of IdentitiesCollection)
public Task<IdentitiesCollection> CreateGroupsAsync(
Guid scopeId,
IList<Identity> groups,
Object userState
)
参数
- scopeId
类型:System.Guid
- groups
类型:System.Collections.Generic.IList<Identity>
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<IdentitiesCollection>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。