class
UserPrivileges
The default user types known by SmartFoxServer.
Properties
new UserPrivileges()
Developers never istantiate the UserPrivileges class: only use its static properties.
Values contained in this class (or custom-defined ones) are assigned to the SFSUser.privilegeId property whenever a user logs in.
Read the SmartFoxServer 2X documentation for more informations about privilege profiles and their permissions.
Properties
constant static
ADMINISTRATOR number
The administrator user can send dedicated "administrator messages", kick and ban users.
constant static
GUEST number
The Guest user is usually the lowest level in the privilege profiles scale.
constant static
MODERATOR number
The moderator user can send dedicated "moderator messages", kick and ban users.
constant static
STANDARD number
The standard user is usually registered in the application custom login system; uses a unique name and password to login.