Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
api call for last login for all users?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 09:30 AM
2402     0
Is there an api call to get the last time each user logged in into infoblox? Thanks
Solved! Go to Solution.
Labels:
Re: api call for last login for all users?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 05:47 AM
2403     0
'Unfortuantely it is not possible to view last login for other users. It is only possible to view the information for the user currently logged in, through the "userprofile" object.
curl -k1 -u admin:infoblox -X GET 'https://192.168.1.2/wapi/v2.12/userprofile?_return_fields%2b=name,email,last_login,admin_group' [ { "_ref": "userprofile/Li51c2VyX3Byb2ZpbGUkMg:admin", "admin_group": "admin-group", "last_login": 1717159554, "name": "admin" } ]