User Name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When working with web applications, to get a user name I would use the
Page.User.Identitiy.Name.

When I an using a Console or Windows based application, what would I use to
get the same information?

Thanks in advance for your assistance!!
 
When working with web applications, to get a user name I would use the
Page.User.Identitiy.Name.

When I an using a Console or Windows based application, what would I use to
get the same information?

Thanks in advance for your assistance!!

Environment.UserName or SystemInformation.UserName
 
Back
Top