Shanmugam Rajagopal
asked on
C++ get user from AD (VS6)
Hi, How do I get the user info from AD using C++ (VS6)? I used GetUserName to get it but it wont be correct when people create a local account and login . Please advice.
Tried GetUserNameEx?
ASKER
GetUserNameEx will not return Active Directory user it returns local user. AD has to be retrieved thru Kerberos tocken for the user.
Fair enough. It was just a suggestion as I was on my phone at the time. I'm sorry, I don't have a definitive answer but there are plenty of Windows specialist programmers who might. I'll ping jkr and see if he can help you.
ASKER
Any suggestion?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.