apiUser

This is the model for user information in the API.

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.

JSON

property type description
name name (string) The username, which is unique within a Cloudera Manager installation.
password 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 roles/roles (string) A list of roles this user belongs to.

In Cloudera Express, possible values are:

  • ROLE_ADMIN
  • ROLE_USER
In Cloudera Enterprise Datahub Edition, additional possible values are:
  • ROLE_LIMITED: Added in Cloudera Manager 5.0
  • ROLE_OPERATOR: Added in Cloudera Manager 5.1
  • ROLE_CONFIGURATOR: Added in Cloudera Manager 5.1
  • ROLE_CLUSTER_ADMIN: Added in Cloudera Manager 5.2
  • ROLE_BDR_ADMIN: Added in Cloudera Manager 5.2
  • ROLE_NAVIGATOR_ADMIN: Added in Cloudera Manager 5.2
  • ROLE_USER_ADMIN: Added in Cloudera Manager 5.2
An empty list implies ROLE_USER.

Note that although this interface provides a list of roles, a user should only be assigned a single role at a time.

pwHash pwHash (string) NOTE: Only available in the "export" view
pwSalt pwSalt (long) NOTE: Only available in the "export" view
pwLogin pwLogin (boolean) NOTE: Only available in the "export" view