SmartFoxServer Silverlight API
amIModerator Field
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► amIModerator
A boolean flag indicating if the user is recognized as Moderator.
Declaration Syntax

C# | Visual Basic | Visual C++

    public bool amIModerator

    Public amIModerator As Boolean

    public:
    bool amIModerator

Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to check if the current user is a Moderator in the current SmartFoxServer zone.
CopyC#

    if (smartfox.amIModerator)
        Debug.WriteLine("I'm a Moderator in this zone");
    else
        Debug.WriteLine("I'm a standard user");

See Also
SendModeratorMessage(String, String, Int32)

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)