This is the model for user information in the API prior to v18. Post v18, please refer to ApiUser2.java.
Note that any method that returns user information will not contain any password information. The password property is only used when creating or updating users.
name | data type | description |
---|---|---|
name | string | The username, which is unique within a Cloudera Manager installation. |
password | string | Returns the user password.
Passwords are not returned when querying user information, so this property will always be empty when reading information from a server. |
roles | array of string | A list of roles this user belongs to.
In Cloudera Express, possible values are:
Note that although this interface provides a list of roles, a user should only be assigned a single role at a time. |
pwHash | string | NOTE: Only available in the "export" view |
pwSalt | number | NOTE: Only available in the "export" view |
pwLogin | boolean | NOTE: Only available in the "export" view |
Example
{ "name" : "...", "password" : "...", "roles" : [ "...", "..." ], "pwHash" : "...", "pwSalt" : 12345, "pwLogin" : true }