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 public enum UserPrivileges
Members
| Member name | Value | Description |
---|
| GUEST | 0 |
The Guest user is usually the lowest level in the privilege profiles scale.
|
| STANDARD | 1 |
The standard user is usually registered in the application custom login system; uses a unique name and password to login.
|
| MODERATOR | 2 |
The moderator user can send dedicated "moderator messages", kick and ban users.
|
| ADMINISTRATOR | 3 |
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