Am I connecting correctly??
Server: testServer
AD Domain: myDomain.co.uk
Domain Object: myGroup
Then I want to get all Name properties from within myGroup.
So the path something like this...
testServer >> myDomain.co.uk >> myGroup >> GroupA, GroupB, GrouypC...
Here's my code to connect...
DirectoryEntry ent = new DirectoryEntry(LDAP://testServer/OU=myGroup,DC=co.uk);
Is this correct?
Thanks.
|