SmartFoxServer Silverlight API
IsModerator Method
Namespaces ► SmartFoxClientAPI.Data ► User ► IsModerator()()()
A boolean flag indicating if the user is a Moderator in the current zone.
Declaration Syntax

C# | Visual Basic | Visual C++

    public bool IsModerator()

    Public Function IsModerator As Boolean

    public:
    bool IsModerator()

Return Value
true if the user is a Moderator
Remarks
Version:
SmartFoxServer Basic / Pro
Examples
CopyC#

    if (user.IsModerator())
        Debug.WriteLine("The user is a Moderator");

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