AllUserInfo
This API retrieves information of all users.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/users/info
Input Parameters
Parameter | Description |
---|---|
adminUser | User with admin rights (optional). |
adminPassword | Password for the admin user (optional). |
certAlias | Client certificate alias for making SSL connections (optional). |
certPass | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
{
"AllUserInfoRequest": {
"adminUser": "testadmin",
"adminPassword": "test1234",
"certAlias": "privatekey",
"certPassword": "test1234"
}
}
response
{
"AllUserInfoResponse": {
"UserDataList": {
"UserData": [
{
"User": "testuser",
"ModifyUserInfo": true,
"GroupList": {
"Group": "testGroup"
},
"CustomAttributeList": {
"CustomAttribute": [
{
"Name": "twg_attritbute_1",
"Value": "twg@encryption.com"
},
{
"Name": "twg_attritbute_2",
"Value": "twg2@encryption.com"
}
]
}
},
{
"User": "dbusr",
"ModifyUserInfo": true,
"GroupList": {
"Group": [
"SQLGroup",
"testGroup"
]
}
},
{
"User": "encrypt_decrypt_user",
"ModifyUserInfo": true
},
]
}
}
}