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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top