Class DatabaseUsersOptions


  • public final class DatabaseUsersOptions
    extends Object
    Author:
    Michele Rastelli
    • Constructor Detail

      • DatabaseUsersOptions

        public DatabaseUsersOptions()
    • Method Detail

      • getUsername

        public String getUsername()
      • username

        public DatabaseUsersOptions username​(String username)
        Parameters:
        username - Login name of the user to be created
        Returns:
        options
      • extra

        public DatabaseUsersOptions extra​(Map<String,​Object> extra)
        Parameters:
        extra - extra user information. The data contained in extra will be stored for the user but not be interpreted further by ArangoDB.
        Returns:
        options
      • getPasswd

        public String getPasswd()
      • passwd

        public DatabaseUsersOptions passwd​(String passwd)
        Parameters:
        passwd - The user password as a string. If not specified, it will default to an empty string.
        Returns:
        options
      • getActive

        public Boolean getActive()
      • active

        public DatabaseUsersOptions active​(Boolean active)
        Parameters:
        active - A flag indicating whether the user account should be activated or not. The default value is true. If set to false, the user won't be able to log into the database.
        Returns:
        options