LonPete67
asked on
Unable to retrieve group membership of a Foreign Security Principals account
I'm trying to retrieve the local group membership (groups in my local domain) from Foreign Security Principals accounts (created after granting access to a resource to an account from a trusted domain) via VBScript. I'm using the code below but no matter what I do I'm not seeing the group membership. The code works fine with a normal account.
Set objGroup = GetObject("LDAP://CN=S-1-5 -21-466423 297-191532 1860-20680 54413-2563 6,CN=Forei gnSecurity Principals ,DC=mydoma in,DC=root ")
arrGroups = objGroup.memberOf
I can see the membership when I look in the AD Users and Computers console.
Any ideas?
Set objGroup = GetObject("LDAP://CN=S-1-5
arrGroups = objGroup.memberOf
I can see the membership when I look in the AD Users and Computers console.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.