HasPermissions¶
Checks whether an identity has all specified permissions on a folder or process.
1 | |
Parameters¶
string id
The folder or process GUID.
( string | Identity ) identity
The identity object or its GUID string.
string permissions optional
Comma-separated permission names. Defaults to read when omitted.
Returns¶
true if all requested permissions are granted; false if access is denied, the target or identity is not found, or the target belongs to another tenant.
Remarks¶
Permission names are case-insensitive: Read, Execute, Write, Delete, Security, All. Surrounding whitespace is ignored. Invalid GUIDs, empty permissions, and unknown permission names raise an error. Process and folder ACL inheritance is respected.
Example¶
1 2 | |