
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
curl -k --user admin@************************** "https://10.100.102.167:9710/gwadmin-service/list/group.csv" > groupwisegroups.csv
Gives a list of all groups. user.csv gives a list of all users...
But how do i get a list of all groups with the membership. Below shows how to do it for a group but i've no real idea on how to get it for a few hundred groups.
GET https://localhost:9710/gwadmin-service/domains/testDom1/postoffices/testPO1/groups/testGroup1/members
Thanks in advance.
I'm sure before 2018 this was easy, and you could just export the address book and just select the groups.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
@booktrunk Hi,
I do the following in a browser:
Then sort the .csv file
Cheers,
Laura
Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
@booktrunk Hi,
I do the following in a browser:
Then sort the .csv file
Cheers,
Laura
Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
There was an excellent session at Brainshare 2015 - TUT7874. Whenever you have access to this file, grab it. It's worth!
I cut out a few lines just to give you an example. It's not your solution because it is loop for users, not for groups. But it is a hint ...
Looping Constructs: CSV, AWK, Curl
urls=`
curl –k –user admin:password“https://gw.x.com/gwadmin-service/list/user.csv?attrs=domain,postoffice,name&filter=lastClientLoginTime%20lt%20now(-1,month)” |
gawk --field-separator=, ‘NR != 1 {print “https://gw.x.com:9710/gwadmin-service/domains/”$1”/postoffices/”$2”/users/”$3}’
`
for url in $urls; do curl –k --user admin:novell–X PUT $url–H “Content-Type: application/json” --data “{\”loginDisabled\”: true}”
This community is more powerful if you use Likes and Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Is there anywhere in the documentation a list of everything you can list under /list/*


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Did you check the online documentation? https://server:9710/gwadmin-service, Detailed Documentation
excerpt:
ListApi |
|
This community is more powerful if you use Likes and Solutions