Arg81
Well-known member
Active Directory Authentication - RESOLVED
Hi guys,
Please could someone explain / show how I can take the current logged on user, and check to see whether they are in a group in AD?
Scenario:
- Users access my application by logging on as themselves to Terminal Server.
- I have figured out how to take username in either form "Username" or "Domain\UserName".
- I want to have each form of my app accessible to only certain groups. I assume I need to add code to each form with the group name.
- ^^ how do I then authenticate with the group name in AD, and deny access to those users who are not in the group?
Please could someone point me in either the direction of some websites or any threads. I have tried searching both Internet and on Forum but can't find any help.
Regards,
Luke
Hi guys,
Please could someone explain / show how I can take the current logged on user, and check to see whether they are in a group in AD?
Scenario:
- Users access my application by logging on as themselves to Terminal Server.
- I have figured out how to take username in either form "Username" or "Domain\UserName".
- I want to have each form of my app accessible to only certain groups. I assume I need to add code to each form with the group name.
- ^^ how do I then authenticate with the group name in AD, and deny access to those users who are not in the group?
Please could someone point me in either the direction of some websites or any threads. I have tried searching both Internet and on Forum but can't find any help.
Regards,
Luke
Last edited: