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.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?