Windows username...

  • Thread starter Thread starter Paul M
  • Start date Start date
P

Paul M

Hi,

If you're using integrated security, is it possible to get hold of the
username of the current user??

Thanks in advance...

P
 
Paul,

The other two ways mentioned here seem fine. But I'd just like to note that
when I'm using integrated security I get the username like this:

System.Security.Principal.WindowsIdentity.GetCurrent.Name

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
Back
Top