UserPrivileges

Default User types availabe in SmartFoxServer.


The server assigns one of these values or a custom-defined one to the SFSUser#privilegeId property whenever a User logs in. Read the SmartFoxServer documentation for more information about privilege profiles and their permissions.

Members

(static, constant) ADMINISTRATOR :number

The administrator User can send dedicated "administrator messages", kick and ban Users.
Type:
  • number

(static, constant) GUEST :number

The guest User is usually the lowest level in the privilege profiles scale.
Type:
  • number

(static, constant) MODERATOR :number

The moderator User can send dedicated "moderator messages", kick and ban Users.
Type:
  • number

(static, constant) STANDARD :number

The standard User is usually registered in the application custom login system; uses a unique name and password to login.
Type:
  • number