Is a user an administrator?
public isAdmin ( array $options = [] ) : boolean | ||
$options | array | Options: - permission: (string) Allow users with this permission admin access in the current context. - permlevel: (integer) The level of permissions to check for. Defaults to Horde_Perms::EDIT. - user: (string) The user to check. Defaults to self::getAuth(). |
return | boolean | Whether or not this is an admin user. |