Syntax
Members
isAllowedType: 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
XblPrivacyCheckPermissionResultXblPrivacyCheckPermissionForAnonymousUserResult
XblPrivacyBatchCheckPermissionResult
