This does not make me happy.

From MSDN:
Quote:


Determining a User's or Group's Membership in a Group
The IADsGroup.IsMember method can be used to determine if an object is a member of a group. This method returns TRUE if the specified object is a direct member of the group, that is, the group's member property contains the specified object.

A group can contain other groups. The IADsGroup.IsMember method does not recursively verify the members of groups in its member property, groups within those groups, and so on. To recursively verify that an object is a member of a group, enumerate the groups in the member property, verify the members of those groups to see if the object is a member, and if those groups contain other groups, check their members, and so on.





If you were to use a local group as parent SMS group, then this should be possible. In Perl I can use NetUserGetLocalGroups("", $user, &LG_INCLUDE_INDIRECT, \@groups) to get a list of all local groups the including indirect memberships from nested global groups.

http://msdn.microsoft.com/library/defaul...localgroups.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/iadsuser_groups.asp

I am testing the IADsUser::Groups functionality to see if the it lists my local group membership by indirect membership in a nested global group. Back in a view minutes.
_________________________
Home page: http://www.kixhelp.com/hb/