Modifier and Type | Method and Description |
---|---|
String |
getDefaultApp()
Returns the user's default app.
|
boolean |
getDefaultAppIsUserOverride()
Indicates whether the user's default app was set specifically by the
user.
|
String |
getDefaultAppSourceRole()
Returns the name of the role that the default app was inherited from, or
system if it was inherited from the default system setting. |
String |
getEmail()
Returns the user's email address.
|
String |
getPassword()
Returns the user's password.
|
String |
getRealName()
Returns the full name associated with this user.
|
String[] |
getRoles()
Returns an array of roles assigned to this user.
|
String |
getType()
Returns the authentication method responsible for this user.
|
String |
getTz()
Returns the time zone to use when displaying dates for this user.
|
void |
setDefaultApp(String defaultApp)
Sets the default app for this user.
|
void |
setEmail(String email)
Sets the email address for this user.
|
void |
setPassword(String password)
Sets this user's password.
|
void |
setRealName(String realname)
Sets this user's real name.
|
void |
setRestartBackgroundJobs(boolean restart_background_jobs)
Sets whether to restart background search jobs when Splunk restarts.
|
void |
setRoles(String role)
Sets this user's role.
|
void |
setRoles(String[] roles)
Sets the roles for this user.
|
void |
setTz(String tz)
Sets this user's time zone, which is used for display purposes.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDefaultApp()
public boolean getDefaultAppIsUserOverride()
true
if the default app was set by the user,
false
if not.public String getDefaultAppSourceRole()
system
if it was inherited from the default system setting.system
if it was inherited from the default system
settings.public String getEmail()
public String getPassword()
public String getRealName()
public String[] getRoles()
public String getType()
public String getTz()
public void setDefaultApp(String defaultApp)
defaultApp
- The default app.public void setEmail(String email)
email
- The email address.public void setPassword(String password)
password
- The password.public void setRealName(String realname)
realname
- The real name.public void setRestartBackgroundJobs(boolean restart_background_jobs)
true
, a background search job for this user that has not
completed is restarted when Splunk restarts.restart_background_jobs
- true
to restart background
search jobs, false
if not.public void setRoles(String[] roles)
roles
- An array of roles.public void setRoles(String role)
role
- The role.public void setTz(String tz)
Note: This attribute is valid in Splunk 4.3 and later.
tz
- The timezone.Copyright © 2022 Splunk, Inc.. All rights reserved.