Class 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()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait