PDA

View Full Version : Request for a script that lists which groups a user is member of



marciohumpris
09-04-2011, 09:28 AM
Hello, everyone

Weve had several customers of icewarps that we manage ask for a report of which groups/pub folders each user is part of of.

From what I understood and emailed support, current solutions are not exactly what my customers want and Id need to custom program it.

1) "tool.exe --filter u_type=7 get account *@* > groups.txt"

So you would get a list of all group accounts and then do some search inside config directory for all config/domain/groupname.txt...

2) It seems using API this could be done. I see some scripts in the forum, in the admin tools section, that show other things, such as last login, user quota, etc.

Could some programmer please consider adding a feature to those scripts to show which group user is part of? Or a report with all groups and respective members?

Thanks a lot.

flaviozluca
09-30-2011, 10:08 AM
Hi, Márcio

A colleague made this script, hope you enjoy it.

Attached.

144

- Flávio

marciohumpris
10-08-2011, 01:29 PM
Thanks!! :)

Regards