IBM Support

What commands can I run to find users or the administrator on my system?

How To


Summary

What commands can I run to find users or the administrator on my system?

Objective

I need to find who is the administrator of my system?

Steps

Run the follwoing curl commands on Linux

 'curl -k -X GET https://<URL GOES HERE>/v1/preauth/validateAuth -u <USERNAME>:<PASSWORD>'

 You would use your username and password.

 This will return an `accessToken`

 Then use it to find list of users

 `curl https://<URL>/api/v1/usermgmt/v1/usermgmt/users -H "Authorization: Bearer  <ACCESS TOKEN>" -k`

 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKKD2","label":"IBM Data Science Experience Local"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
IBM Data Science Experience Local

Software version:
All Versions

Operating system(s):
Linux

Document number:
718857

Modified date:
25 July 2018

UID

ibm10718857