Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Get the created date for Ambari user via the API?

avatar
Contributor

I can get the following details from:

https://host.domain.com:port/api/v1/users/<user>;
 1 {
  2     "Users": {
  3         "active": true,
  4         "admin": true,
  5         "groups": [
  6             "<redacted>"
  7         ],
  8         "ldap_user": <redacted>,
  9         "user_name": "<redacted>",
 10         "user_type": "LDAP"
 11     },


There is no created date. Is there an API call for this? I don't want to have to resort to using our postgres backing DB, as we have limited users added that, and this hampers who can then run our audit tools.

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

Thank you for the confirmation. Until the, I suppose we can just head into postgres on an add-needed basis. I don't want to keep this postgres python code in, since it inhibits who can run the audit tool (only a specific service account).