I have an asp.net application (VB) that allows users to enter client information. Each user has different clients and each user shouldn't be allowed to see other user's clients. The application uses windows authentication.
Our Active Directory contains a field that I am querying to find out what program this user belongs to and by that I can tell what clients they should be able to view.
My problem is that I want to be able to use the windows authentication from the form to access/query the Active Directory. I am trying to accomplish this without using:
If I need to explain in more detail or if the code would help please let me know.
Thanks in advance for your help.
Our Active Directory contains a field that I am querying to find out what program this user belongs to and by that I can tell what clients they should be able to view.
My problem is that I want to be able to use the windows authentication from the form to access/query the Active Directory. I am trying to accomplish this without using:
Code:
Dim myDirectory As New DirectoryEntry(<Path>, <HardcodedUserName>, <HardcodedPassword>)
If I need to explain in more detail or if the code would help please let me know.
Thanks in advance for your help.