Icon HasPrivilege Method

function HasPrivilege(const AName: String): Boolean

Use this method to determine if the authenticated user for the server session has been granted the specified privilege (indirectly through the roles that the user has been granted).
Image