Windows authentication in C# without password -


i have windows forms project uses principalcontext.validatecredentials method

everything works fine, but...

first, user logs in windows environment using his/her windows username , password. then, user logs in app using his/her windows username , password. duplicate work isn't ?

my goal create ssms's windows authentication (if connect db selecting windows authentication doesn't ask windows password because logged in). want logged-in user's username , (hash, guid, sid etc.) , use info authenticate user.

is there way achieve ?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -