你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GroupUserOperationsExtensions.CheckEntityExistsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查标识符指定的用户实体是否与组实体相关联。
public static System.Threading.Tasks.Task<bool> CheckEntityExistsAsync(this Microsoft.Azure.Management.ApiManagement.IGroupUserOperations operations, string resourceGroupName, string serviceName, string groupId, string userId, System.Threading.CancellationToken cancellationToken = default);
static member CheckEntityExistsAsync : Microsoft.Azure.Management.ApiManagement.IGroupUserOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function CheckEntityExistsAsync (operations As IGroupUserOperations, resourceGroupName As String, serviceName As String, groupId As String, userId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
参数
- operations
- IGroupUserOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组的名称。
- serviceName
- String
API 管理服务的名称。
- groupId
- String
组标识符。 在当前API 管理服务实例中必须是唯一的。
- userId
- String
用户标识符。 在当前API 管理服务实例中必须是唯一的。
- cancellationToken
- CancellationToken
取消标记。