Last post Sep 26, 2013 09:31 AM by smirnov
Sep 26, 2013 09:19 AM|SaiKarthik|LINK
I am new to AD, but have a fair bit of c# programming experience.
I have a new requirement to query and filter AD users based on state. When I search online resources I see DirectoryEntry("example.com");
Can some on explain what should be given exactly as first argument.
Sep 26, 2013 09:31 AM|smirnov|LINK
The DirectoryEntry has different constructors
You are probably about DirectoryEntry (String)
where you need to supply the path to the directory.
"LDAP://RootDSE" (root of the directory)
"LDAP://domain.com" (specific to your organization)