Skip to main content
Struct describing the result of a permission check request.

Syntax

Members

isAllowed
Type: bool
Value indicating whether or not permission to take the requested action is granted. targetXuid
Type: uint64_t
Target Xuid for the permission check request. Will be 0 if the permission check was for an anonymous user. targetUserType
Type: XblAnonymousUserType
The class of anonymous user the permission check was for. Will be XblAnonymousUserType::Unknown if the permission check was for an XBOX network user. permissionRequested
Type: XblPermission
The permission that was requested. reasons
Type: XblPermissionDenyReasonDetails*
Array of reasons why permission was denied. Null when isAllowed is true. reasonsCount
Type: size_t
Number of entries in the reasons array.

Remarks

The result, including the reasons array, points into the buffer that you pass to the result function. Don’t free these pointers. They’re valid only as long as that buffer is valid, so copy any values that you need to keep before you release the buffer. Use isAllowed to decide whether to allow the action. The reasons array explains why permission was denied, but it doesn’t change the result: if isAllowed is false, block the action.

Argument of

XblPrivacyCheckPermissionResult
XblPrivacyCheckPermissionForAnonymousUserResult
XblPrivacyBatchCheckPermissionResult

Requirements

Header: privacy_c.h

See also

privacy_c
Last modified on October 29, 2026