on 06-15-2020 1:58 PM
Hi
Is there any way to upload multiple users and password in the security Material of CPI using Excel or notepad? We have to maintain around 30-40 user credentials. Just looking for an easier approach instead of maintaining one by one.
Br,
Vijay V
Dear Vijay,
There is no tool as such.But you can leverage below API for mass update of credentials provided you have input data in either in XML or JSON.
https://api.sap.com/api/SecurityContent/resource
You can perform POST operation below url
https://<TMN_URL>/cpi/api/v1/UserCredentials
Sample JSON input:
{
"Name": "credentials name",
"Kind": "default, successfactors or openconnectors",
"Description": "descrption",
"User": "user",
"Password": "password",
"CompanyId": "successfactors: company ID"
}
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks. I tried this and it did work but when I tried to update multiple users it fails. Not sure if its a format issue.
{
"Name": "credentials name",
"Kind": "default",
"Description": "TEst",
"User": "user1",
"Password": "password",
"CompanyId": "company ID"
},
{
"Name": "credentials name1",
"Kind": "default",
"Description": "Test2",
"User": "user2",
"Password": "password",
"CompanyId": "company ID"
}
Br,
Vijay V
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.