PermissionCheckResult (JSON)

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

PermissionCheckResult

The PermissionCheckResult object has the following specification.

Member Type Description
reason string Optional. A PermissionResultCode value that indicates why the permission was denied if IsAllowed was false.
restrictedSetting string Optional. If the PermissionResultCode value in the reason member indicates that a privilege check for the requestor failed, this indicates which privilege failed.

Sample JSON syntax

{
    "reason": "MissingPrivilege",
    "restrictedSetting": "VideoCommunications"
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference