I want to query ACTIVE DIRECTORY for a particular user.
I am creating a login and I want to make sure they are in the active directory.
Can I get all the domains they are active in?
I am creating a login and I want to make sure they are in the active directory.
Can I get all the domains they are active in?
If they do, I want to create a database login.
I use: advapi32.dll >> GetUserNameW to get the user id, while they are logging in.
But I want a function that can check if a user id exists before it creates their DB login.
My STD Framework has all the AD interaction capabilities built in. Here is a presentation that I gave at a PB conference that explains how it works...
https://sourceforge.net/projects/stdfndclass/files/Presentations/Active%20Directory
HTH
Regards... Chris