I am currently uploading document on sharepoint using ssis script task. Also I have a table where I am having user name and password from where the script task is fetching the same to login on sharepoint. My question is how to replace this with windows authentication so that there is no need to preserve such sensitive information in a table. As am new to C# coding, please help me in writing the code for replacing the code to fetch windows current user logged on.
Asked
Active
Viewed 99 times
0
-
What did your google find you? – BugFinder Apr 26 '16 at 08:14
-
To add windows.Security.Principal Namespace. – Ankit Apr 26 '16 at 08:18
-
then keep reading - there is way more info than that – BugFinder Apr 26 '16 at 08:23
-
Thanks! :) That's what am doing. – Ankit Apr 26 '16 at 08:25
-
Thanks! Am able to crack it :) – Ankit May 11 '16 at 05:59