Package com.strongdm.api
Class User
java.lang.Object
com.strongdm.api.User
- All Implemented Interfaces:
Account
A User can connect to resources they are granted directly, or granted
via roles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
The User's email address.External ID is an alternative unique ID this user is represented by within an external service.The User's first name.getId()
Unique identifier of the User.The User's last name.Managed By is a read only field for what service manages this user, e.g.Password is a write-only field that can be used to set the user's password.PermissionLevel is the user's permission level e.g.boolean
Suspended is a read only field for the User's suspended state.getTags()
Tags is a map of key, value pairs.void
The User's email address.void
setExternalId
(String in) External ID is an alternative unique ID this user is represented by within an external service.void
setFirstName
(String in) The User's first name.void
Unique identifier of the User.void
setLastName
(String in) The User's last name.void
setManagedBy
(String in) Managed By is a read only field for what service manages this user, e.g.void
setPassword
(String in) Password is a write-only field that can be used to set the user's password.void
PermissionLevel is the user's permission level e.g.void
setSuspended
(boolean in) Suspended is a read only field for the User's suspended state.void
Tags is a map of key, value pairs.
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getEmail
The User's email address. Must be unique. -
setEmail
The User's email address. Must be unique. -
getExternalId
External ID is an alternative unique ID this user is represented by within an external service. -
setExternalId
External ID is an alternative unique ID this user is represented by within an external service. -
getFirstName
The User's first name. -
setFirstName
The User's first name. -
getId
Unique identifier of the User. -
setId
Unique identifier of the User. -
getLastName
The User's last name. -
setLastName
The User's last name. -
getManagedBy
Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure. -
setManagedBy
Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure. -
getPassword
Password is a write-only field that can be used to set the user's password. Currently only supported for update. -
setPassword
Password is a write-only field that can be used to set the user's password. Currently only supported for update. -
getPermissionLevel
PermissionLevel is the user's permission level e.g. admin, DBA, user. -
setPermissionLevel
PermissionLevel is the user's permission level e.g. admin, DBA, user. -
getSuspended
public boolean getSuspended()Suspended is a read only field for the User's suspended state.- Specified by:
getSuspended
in interfaceAccount
-
setSuspended
public void setSuspended(boolean in) Suspended is a read only field for the User's suspended state.- Specified by:
setSuspended
in interfaceAccount
-
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs.
-