- Topics: Active | Unanswered
Pages: 1
Topic closed
#1 2009-12-16 20:22:06
- **_cnj125_**
How to create user group by web service?
I have read the "Create Group" section of the web service help.
http://livedocs.adobe.com/en_US/Acrobat … tml#135892
However, I cannot find the method to create user group by web service. Anyone has an idea?
Thanks
Offline
#2 2009-12-16 20:43:24
- **_cnj125_**
Re: How to create user group by web service?
I found the way to do it
Offline
#3 2010-03-02 23:35:53
- **_andrewrnd_**
Re: How to create user group by web service?
I stumbled upon the same problem and found this forum, however the link above doesn't seem to work.
Can anyone give a helping hand out there? Thanks
Offline
#4 2010-03-03 01:50:22
- **_cnj125_**
Re: How to create user group by web service?
The link above is the format of the web service call
Format: https:// "example.com"/api/xml?action=principal-update&type=group&has-children=1&description="SomeDescriptionHere"&name="GroupName"
You can replace the parameters you want
Offline
#5 2010-04-29 17:17:57
- **_clexpert_**
Re: How to create user group by web service?
I stumbled upon the same problem and found this forum, however the link above doesn't seem to work.
Can anyone give a helping hand out there? Thanks
1- Create user:
http://domain.server.acrobat.com/api/xml?action=principal-update&first-name=First&last-name=Last&login=name@domain.com&password=abcabc&type=user&send-email=false&has-children=0&email=name@domain.com
2- Get principal-id of the added user from XML, or you can get it via next command:
http://domain.server.acrobat.com/api/xml?action=principal-list&filter-type=user
3- Get principal-id of the group you want:
http://domain.server.acrobat.com/api/xml?action=principal-list&filter-type=group
4- Add user into the group:
http://domain.server.acrobat.com/api/xml?action=group-membership-update&group-id=123&principal-id=456&is-member=true
Where group-id (123) is the group's principal-id, and principal-id (456) is the user's principal-id.
Petr Zahradnik
Offline
Pages: 1
Topic closed