PermissionCheckBatchUserResponse (JSON)
The reasons of a batch permission check for list of permission values for a single target user.
PermissionCheckBatchUserResponse
The PermissionCheckBatchUserResponse object has the following specification.
Member | Type | Description |
---|---|---|
User | string | Required. This member is true if the requesting user is allowed to perform the requested action with the target user. |
Permissions | Array of PermissionCheckResponse (JSON) | Required. A PermissionCheckResponse (JSON) for each permission that was asked for in the original request, in the same order as in the request. |
Sample JSON syntax
{
"User": {"Xuid": "12345"},
"Permissions":
[
{
"isAllowed": true
},
{
"isAllowed": false
},
{
"isAllowed": false,
"reasons":
[
{"reason": "BlockedByRequestor"},
{"reason": "MissingPrivilege", "restrictedSetting": "VideoCommunications"}
]
}
]
}