I need a couple of functions written in delphi 7 to allow user authentication via Active Directory and new user creation with data taken from Active Directory.
1. Search a user by last name in Active directory. If found as return there will be passed: netid, fristname, lastname, department (if possible), email - this data is needed to create new user within delphi application.
2. function AuthenticateLoggedInUser ( var FirstName, LastName, EmailAddress ) : boolean;
This function should identify the currently logged in user profile and try to authenticate.
If authenticated, the firstname, lastname and emailaddress should be passed back in the respective fields and the true should be return.
If not authenticated, then the result should be false
This should be fairly quick for someone with Active Directory experience. This could also lead to more projects in the future.
I will need the source code and test in my enviroment to confirm functionality before payment is rendarded.