CurrentUserHasPrivilege Function
- Updated2025-07-21
- 1 minute(s) read
CurrentUserHasPrivilege Function
Syntax
Boolean CurrentUserHasPrivilege(String privilegeName)
Return Value
True if the current user has the privilege or if user privilege checking is disabled. Returns False otherwise.
Purpose
This function returns True if the current user has the privilege you specify.
Parameters
privilegeName as String
A string containing the name of the privilege. Pass "*" to determine if a user is currently logged in.