PDA

View Full Version : Get ids of users in secondary usergroup


steveheinsch
05-07-2010, 07:23 PM
I am trying to get an array of user ids of users who are a member of a particular secondary usergroup and then remove them from that group.

I know how to change the usergroup and usergroupids via the user datamanager, but can't find an easy way to get a list of ids of the users in that secondary usergroup.

Any pointers would be appreciated!

Thanks!
Steve

Antivirus
05-08-2010, 03:56 PM
you would need to write a query which pulls member ids with the usergroupid in the membergroupids field