Using windows authentication in my Forms apps

Hi all,

I was just wondering if it was possible to use a windows user's authentication credentials as login authentication for my windows forms. The idea being that multiple usernames/password would not need to be used. There is no need to store the password, simply the username.

Thanks in advance
Who is Participating?
billyleoAuthor Commented:
i was using  'Environment.UserName.ToString();' but this seems better - Is there any way to compare a password typed in to the hashed version of the windows login as this would be extremely helpful!.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.