Reply

api call for last login for all users?

Techie
Posts: 8
2425     0

Is there an api call to get the last time each user logged in into infoblox? Thanks

Re: api call for last login for all users?

Moderator
Moderator
Posts: 315
2426     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"
    }
]
Showing results for 
Search instead for 
Did you mean: 

Recommended for You