Reputation: 15
Im writing a program for my school in which users have to enter a code given to them by a teacher to access the internet.
My Question is how can i from delphi check if the current user is part of the teacher security group in active directory or not before it runs my code generating program.
Thanks Erik
Upvotes: 1
Views: 3315
Reputation: 26358
Using winapi functions.
But have a look at Jedi JWSCL, that is an underdivision of Jedi APIlib that are building a security related library for Delphi.
http://blog.delphi-jedi.net/category/downloads/jwscl-downloads/
Upvotes: 3