How to get current Windows account logged on with ADSI?

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hi,
How to retrieve current Windows account logged on with ADSI?
Win Server 2003, DC.
Thank you in advance.
 
I'm not sure...

If we talk about a webapplication try this:
User.Identity.Name

Hope this helps,
Arjen
 
David said:
Hi,
How to retrieve current Windows account logged on with ADSI?
Win Server 2003, DC.
Thank you in advance.

You can't use ADSI for this. Need more context to answer your question
though. What kind of application is this?

Willy.
 
Back
Top