CurrentUserHasPrivilege Function
- 更新日2025-07-21
- 1分で読める
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.