Skip to main content

XblPrivacyBatchCheckPermissionAsync

Check multiple permissions with multiple target users. Each permission will be checked against each target user.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX live context for the local user. permissionsToCheck   _In_reads_(permissionsCount)
Type: XblPermission*
Array of permissions to check. permissionsCount   _In_
Type: size_t
Number of entries in the permissions array. targetXuids   _In_reads_(xuidsCount)
Type: uint64_t*
Array of target Xuids to check permissions against. xuidsCount   _In_
Type: size_t
Number of entries in the xuids array. targetAnonymousUserTypes   _In_reads_(targetAnonymousUserTypesCount)
Type: XblAnonymousUserType*
Array of anonymous user types to check permissions against. targetAnonymousUserTypesCount   _In_
Type: size_t
Number of entries in the user types array. async   _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

Call XblPrivacyBatchCheckPermissionResultSize and XblPrivacyBatchCheckPermissionResult upon completion to get result.

Requirements

Header: privacy_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

privacy_c
Last modified on August 20, 2026