Winforms version of User.Identity.Name

  • Thread starter Thread starter Elmo Watson
  • Start date Start date
E

Elmo Watson

In Webforms, I can access the user's network login (windows authentication)
by:
User.Identity.Name

What is the Winforms way of doing this?
 
In Webforms, I can access the user's network login (windows authentication)
by:
User.Identity.Name

What is the Winforms way of doing this?


WindowsIdentity.GetCurrent().Name


Mattias
 
Back
Top