SmartFoxServer Unity/.NET API
amIModerator Field
NamespacesSmartFoxClientAPISmartFoxClientamIModerator
A boolean flag indicating if the user is recognized as Moderator.
Declaration Syntax
C#Visual BasicVisual 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)
    Trace.WriteLine("I'm a Moderator in this zone");
else
    Trace.WriteLine("I'm a standard user");
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)