使用用户名和密码授权SharePoint站点

时间:2011-03-07 09:37:16

标签: sharepoint authentication

我编写了一个方法,将sharepoint库中的word文档转换为PDF格式。

enter code here
public WordToPDF(string fileName, string filePath, string userName, string passWord)

    {
        //Code to convert word to PDF.

    }

我可以给用户名和密码硬编码。但是在运行时我无法使用此方法。因为你无法在sharepoint中检索密码。所以如何修改上述功能?谢谢你。

0 个答案:

没有答案
相关问题