Class User

java.lang.Object
com.strongdm.api.User
All Implemented Interfaces:
Account

public class User extends Object implements Account
A User can connect to resources they are granted directly, or granted via roles.
  • Constructor Details

    • User

      public User()
  • Method Details

    • getEmail

      public String getEmail()
      The User's email address. Must be unique.
    • setEmail

      public void setEmail(String in)
      The User's email address. Must be unique.
    • getExternalId

      public String getExternalId()
      External ID is an alternative unique ID this user is represented by within an external service.
    • setExternalId

      public void setExternalId(String in)
      External ID is an alternative unique ID this user is represented by within an external service.
    • getFirstName

      public String getFirstName()
      The User's first name.
    • setFirstName

      public void setFirstName(String in)
      The User's first name.
    • getId

      public String getId()
      Unique identifier of the User.
      Specified by:
      getId in interface Account
    • setId

      public void setId(String in)
      Unique identifier of the User.
    • getLastName

      public String getLastName()
      The User's last name.
    • setLastName

      public void setLastName(String in)
      The User's last name.
    • getManagedBy

      public String getManagedBy()
      Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
    • setManagedBy

      public void setManagedBy(String in)
      Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
    • getPassword

      public String getPassword()
      Password is a write-only field that can be used to set the user's password. Currently only supported for update.
    • setPassword

      public void setPassword(String in)
      Password is a write-only field that can be used to set the user's password. Currently only supported for update.
    • getPermissionLevel

      public String getPermissionLevel()
      PermissionLevel is the user's permission level e.g. admin, DBA, user.
    • setPermissionLevel

      public void setPermissionLevel(String in)
      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 interface Account
    • setSuspended

      public void setSuspended(boolean in)
      Suspended is a read only field for the User's suspended state.
      Specified by:
      setSuspended in interface Account
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface Account
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface Account