Icon HasPrivilege Method

function HasPrivilege(const AName: String): Boolean

Usage

Available In: Server Applications

Use this method to determine if the authenticated user associated with the session has been granted one or more roles that contains the specified privilege.
Image