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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -