开发者

Authorizing SharePoint Site

I wrote a method which will convert the word documents in a sharepoint library into PDF.

public WordToPDF(string fileName, string filePath, string userName, string passWord)

    {
        //Code to convert word to PDF.

    }

I can give the username and password hardcoded.But in runtime I am unable to use this method.Because you are unable to ret开发者_如何学JAVArive the password in sharepoint.So How can I modify the above function? Thank YOU.


I assume, I understood the question(:

If you are using this in a web part that will be published, you can elevate user priviliges.

Check here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜