UserIsAdmin

Tells you whether a user is an administrator or not.

Prototype

function UserIsAdmin($UserID)

Parameters

  • $UserID - a user in the CMS database

Return Values

Returns true if the user is an administrator, false if a user is not.