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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -