Re: Getting the user's DN

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 10/25/04


Date: Mon, 25 Oct 2004 18:47:00 -0400

Hi,

        Systeminformation.username, systeminformation.userdomain,
environment.username, environment.userdomain

Ken
-------------------
"Derek Martin" <dmj2195@DONTSPAMMEokstateDOT.edu> wrote in message
news:uxoPentuEHA.684@TK2MSFTNGP10.phx.gbl...
Using VB.Net, I would like to retrieve the currently logged in user's DN
from Active Directory. Alternatively, if, using WindowsIdentity, or
something similar, I would like to get the user's full name that is found on
the Workstation Locked screen between the ( )'s.

Does anyone know how to do that? The only constraint: no use of
ActiveDS.dll permitted by the design.

Many thanks!
Derek

-- 
Derek Martin
593074