Partager via


PermissionCheckResponse (JSON)

The results of a check from a single user for a single permission setting against a single target user.

PermissionCheckResponse

The PermissionCheckResponse object has the following specification.

Member Type Description
IsAllowed Boolean value Required. This member is true if the requesting user is allowed to perform the requested action with the target user.
Results Array of PermissionCheckResult (JSON) Optional. If IsAllowed was false and the check was denied by something related to the requester, indicates why the permission was denied.

Sample JSON syntax

{
    "isAllowed": false,
    "reasons":
    [
        {"reason": "BlockedByRequestor"},
        {"reason": "MissingPrivilege", "restrictedSetting": "VideoCommunications"}
    ]
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference