Active Directory
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello How Can I get the Active Directory users, searching by a determinated group, I want the users by group. Thanks, Geovanny Santana Z. gjsantana@gmail.com gjsantana@gmail.com
-
Hello How Can I get the Active Directory users, searching by a determinated group, I want the users by group. Thanks, Geovanny Santana Z. gjsantana@gmail.com gjsantana@gmail.com
Hi gjsantana, According to my knowledge what you will have to do, you will make a new Directory Sercher Object and send a different group name in connection string e.g. private DirectorySearcher DS = new DirectorySearcher ("LDAP://cn=users,dc=servername,dc=domainname,dc=com"); Where it says "users", change it to your desired group. I hope it helps Osama Mirza