Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

is_supermod

Usage: bool is_supermod ([int userid])
Purpose: Returns whether a user is a super moderator.
Availability: IPB SDK 0.1

Returns TRUE if user userid is a super moderator. If userid is not specified, this function will return whether the currently logged in user is a super moderator.

if ($SDK->is_supermod()) {
      // Moderator Only Code
}
See Also: is_admin


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net