I'm trying to use Perl to determine if a Windows users is a member of a Windows group, if the the group contains nested groups.
I've tried using Win32::NetAdmin::GroupIsMember()
, but it only works if the user a direct member of the group.
I'm not a AD or LDAP expert, but the examples I googled for exhibit the same behavior.
For example, User "joe" is a member of the group "A". Group "A" is a member of group "B". I want to test to see if joe is member of "B".