HasPrivilege
Boolean function for resource conditions that returns True if the user making the request has the specified access right for the targeted resource or resources. Otherwise returns False.
Syntax:
resource.HasPrivilege("action")
Properties:
Property | Description |
---|---|
action | MANDATORY. The action that you want to evaluate access right for. |