Hi,
I am doing one application want to know how to get the current active user id,password and domain name using c#.
Thnx.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tushar BadwePosted Mar 7, 2006, 1:54 AM
Thnx for the link,
I am doing the code by using ActiveDS type library.
But I got the right information when I used it with windows desktop vb.net application.But when I am using same library for the c#(asp.net application) its giving me wrong information.
Current username its showing as ASPNET.But the windows logon user is different.
Thnx in advance.
Binu SubiPosted Mar 6, 2006, 11:51 AM
http://www.c-sharpcorner.com/DirectoryServices.asp
Good Luck!