ForumViewerAdministratorCode Method (Object, String, Boolean) |
Returns html code if current user is moderator.
Namespace: CMS.Forums.Web.UIAssembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 12.0.0
Syntax public string AdministratorCode(
Object forumID,
string htmlCode,
bool checkForumLock
)
Parameters
- forumID
- Type: SystemObject
Forum identifier - htmlCode
- Type: SystemString
HTML code which should be returned - checkForumLock
- Type: SystemBoolean
Indicates whether rights to the forum locking should be checked
Return Value
Type:
StringSee Also