ISADMIN Function
The ISADMIN function indicates whether the user is an administrator. It returns a value of 1 if the specified user is an administrator or if protection is not enabled.
Syntax
ISADMIN()
Example 1
If the current user is an administrator:
ISADMIN(WHOAMI())
Returns the value 1.