public class UserCreateOptions extends Object
Constructor and Description |
---|
UserCreateOptions() |
Modifier and Type | Method and Description |
---|---|
UserCreateOptions |
active(Boolean active) |
UserCreateOptions |
extra(Map<String,Object> extra) |
Boolean |
getActive() |
Map<String,Object> |
getExtra() |
protected String |
getPasswd() |
protected String |
getUser() |
protected UserCreateOptions |
passwd(String passwd) |
protected UserCreateOptions |
user(String user) |
protected String getUser()
protected UserCreateOptions user(String user)
user
- The name of the userprotected String getPasswd()
protected UserCreateOptions passwd(String passwd)
passwd
- The user passwordpublic Boolean getActive()
public UserCreateOptions active(Boolean active)
active
- An optional flag that specifies whether the user is active. If not specified, this will default to
truepublic UserCreateOptions extra(Map<String,Object> extra)
extra
- Optional data about the userCopyright © 2016–2017 ArangoDB GmbH. All rights reserved.