Tutorial :Delphi & Active Directory security groups



Question:

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


Solution:1

See the answers in this post


Solution:2

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/


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »