Skip to content

Get the current active user id,domain name,password from the active directory.

Tushar Badwe

Asked Mar 5, 2006, 4:25 PM EST2 answers
Share
LinkedInX
Hi,
I am doing one application want to know how to get the current active user id,password and domain name using c#.

Thnx.

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    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.

    0