SmartFoxServer Silverlight 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)
    Debug.WriteLine("I'm a Moderator in this zone");
else
    Debug.WriteLine("I'm a standard user");
See Also

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