PrivacyService.CheckPermissionWithTargetUserAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check a single permission with a single target user.
public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Privacy.PermissionCheckResult> CheckPermissionWithTargetUserAsync (string permissionId, string targetXboxUserId);
abstract member CheckPermissionWithTargetUserAsync : string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Privacy.PermissionCheckResult>
override this.CheckPermissionWithTargetUserAsync : string * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Privacy.PermissionCheckResult>
Public Function CheckPermissionWithTargetUserAsync (permissionId As String, targetXboxUserId As String) As IAsyncOperation(Of PermissionCheckResult)
Parameters
- permissionId
- String
The ID of the permission to check. See Microsoft::Xbox::Services::Privacy::PermissionIdConstants for the latest options.
- targetXboxUserId
- String
The target user's xbox Live ID for validation
Returns
The permission check result against a single user.
Implements
Remarks
Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation.
Calls V1 GET /users/{requestorId}/permission/validate