Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API Examples

Reply

How do I check which group does the user belong to? (via api)

New Member
Posts: 3
1801     0
How do I check which group does the user belong to? (via api)

Re: How do I check which group does the user belong to? (via api)

Moderator
Moderator
Posts: 289
1801     0

Use the "userprofile" object and request the "admin_group" field.

 

For example:

curl -k -u admin:infoblox -X GET 'https://gm.richard.network/wapi/v2.11/userprofile?_return_fields=name,admin_group,email,user_type'

returns:

[
    {
        "_ref": "userprofile/Li51c2VyX3Byb2ZpbGUkMA:admin", 
        "admin_group": "admin-group", 
        "name": "admin", 
        "user_type": "LOCAL"
    }
]

Re: How do I check which group does the user belong to? (via api)

New Member
Posts: 3
1801     0
Why I have to write the password?

Re: How do I check which group does the user belong to? (via api)

[ Edited ]
Moderator
Moderator
Posts: 289
1801     0

You only need to fill the "old_password" and "password" fields if you're changing your own password.  It's not needed to view information.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You