Class User


public final class User extends DirBaseValue
User represents a specific user, with a login and a password and a list of emails. Informations like firstname, lastname and phones are store in a VCard. Users are part of a domain (and only one). They are stored as items in a container users_[domainUid].
  • Field Details

    • login

      public String login
      The login of the user. The login at (@) domain name is used to sign-into the system.
    • password

      public String password
      The password is set to the clear-text version to update the password. It is never fetched and only a hash of it is stored in the database.
    • passwordLastChange

      public Date passwordLastChange
      Last password update date.
    • passwordMustChange

      public boolean passwordMustChange
      Password must be changed
    • passwordNeverExpires

      public boolean passwordNeverExpires
      Password never expire
    • contactInfos

      public VCard contactInfos
      Contact informations for the user (firstname, lastname, phones, etc)
    • routing

      public Mailbox.Routing routing
      Defines how mail routing will be done for this user
    • accountType

      public BaseDirEntry.AccountType accountType
    • quota

      public Integer quota
    • mailboxCopyGuid

      public String mailboxCopyGuid
      Order the "clients" (webapp, calendar, contacts) to clear their local data if their data was initialized with a different mailboxCopyGuid.
    • properties

      public Map<String,String> properties
      Custom properties
  • Constructor Details

    • User

      public User()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fullAccount

      public boolean fullAccount()
    • copy

      public User copy()