UserInfo
This API gets information of a user.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/users/userInfo
Input Parameters
| Parameters | Description |
|---|---|
| adminUser | User with admin rights. |
| adminPassword | Password for the admin user. |
| userName | Name of the user for whom information is to be retrieved. |
| certAlias | Client certificate alias for making SSL connections (optional). |
| certPass | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
{
"UserInfoRequest": {
"adminUser": "testadmin",
"adminPassword": "asdf1234",
"userName": "twguser"
}
}
response
{
"UserInfoResponse": {
"User": "twguser",
"GroupList": {
"Group": "twgGroup"
},
"CustomAttributeList": {
"CustomAttribute": [
{
"Name": "twg_attritbute_1",
"Value": "twg@encryption.com"
},
{
"Name": "twg_attritbute_2",
"Value": "twg2@encryption.com"
}
]
},
"isChangePasswdPermission": true
}
}