Click or drag to resize

UserPrivileges Enumeration

This class contains the costants describing the default user types known by SmartFoxServer.

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public enum UserPrivileges
Members
  Member nameValueDescription
GUEST0 The Guest user is usually the lowest level in the privilege profiles scale.
STANDARD1 The standard user is usually registered in the application custom login system; uses a unique name and password to login.
MODERATOR2 The moderator user can send dedicated "moderator messages", kick and ban users.
ADMINISTRATOR3 The administrator user can send dedicated "administrator messages", kick and ban users.
Remarks
The server assigns one of these values or a custom-defined one to the User.PrivilegeId property whenever a user logs in.

Read the SmartFoxServer 2X documentation for more informations about privilege profiles and their permissions.

See Also