|
Posted by Joe Richards [MVP] on July 27, 2006, 6:21 pm
Please log in for more thread options If you have a single domain and the only thing you have to worry about
is domain local groups, this will be pretty easy....
You simply find the foreignSecurityPrincipal object that was created for
the foreign user, then look at the memberof attribute of that object.
Again, assuming you have a single domain forest and you are only worried
about domain local groups, every direct membership group will be listed
in that attribute.
joe
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
Mike Matheny wrote:
> We have around 10 trusted domains that we sometimes add users from into our
> domain local groups. When a user from a trusted domain leaves, we need a way
> to find out what groups in OUR domain he is a member of and remove him I
> have not been able to find any way to do this (short of going through all
> 1000 of our groups manually!!), so that is why I am asking the experts!
>
|