Users.isUserAdmin (Method)

Returns a boolean flag which if true indicates whether the current user is an administrator for the specified user. If UserID is -1, true is returned if the current user is an administrator for any user.

Returns:

Boolean

Arguments:

Name Type Required Description
userID UserID_NEG1 Required The ID of the user to check. If -1, all users are checked.

Context:

License Requirements (none)
Permission Requirements Contributor
Deny Context None
Require Context (none)
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None