共用方式為


PermissionCheckBatchRequest (JSON)

Collection of PermissionCheckBatchRequest objects.

PermissionCheckBatchRequest

The PermissionCheckBatchRequest object has the following specification.

Member Type Description
Users Array of Users Required. Array of targets to check permission against. Each entry in this array is either an Xbox User ID (XUID) or an anonymous off-network user for cross-network scenarios ("anonymousUser":"allUsers").
Permissions Array of PermissionId Enumeration Required. The permissions to check against each user.

Sample JSON syntax

{
    "users":
    [
        {"xuid":"12345"},
        {"xuid":"54321"}
    ],
    "permissions":
    [
        "ShareFriendList",
        "ShareGameHistory"
    ]
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference