Package sfs2x.client.entities
Class UserPrivileges
- java.lang.Object
-
- sfs2x.client.entities.UserPrivileges
-
public class UserPrivileges extends java.lang.Object
The UserPrivileges class contains the constants describing the default user types known by SmartFoxServer. 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 information about privilege profiles and their permissions.
- See Also:
User.getPrivilegeId()
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMINISTRATOR
The administrator user can send dedicated "administrator messages", kick and ban users.static int
GUEST
The Guest user is usually the lowest level in the privilege profiles scale.static int
MODERATOR
The moderator user can send dedicated "moderator messages", kick and ban users.static int
STANDARD
The standard user is usually registered in the application custom login system; uses a unique name and password to login.
-
Constructor Summary
Constructors Constructor Description UserPrivileges()
-
-
-
Field Detail
-
GUEST
public static final int GUEST
The Guest user is usually the lowest level in the privilege profiles scale.- See Also:
- Constant Field Values
-
STANDARD
public static final int STANDARD
The standard user is usually registered in the application custom login system; uses a unique name and password to login.- See Also:
- Constant Field Values
-
MODERATOR
public static final int MODERATOR
The moderator user can send dedicated "moderator messages", kick and ban users.
-
ADMINISTRATOR
public static final int ADMINISTRATOR
The administrator user can send dedicated "administrator messages", kick and ban users.
-
-