Your code runs fine for me.
Are you using an ID that has authority to access the DC?. Do you have the mods installed right? Do you have a NT setup or AD? Just some random ideas.
Where does the error appear?
In reply to Re: User group membership: bug in code
by Marza
in thread User group membership: bug in code
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |