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 retrive the password in sharepoint.So How can I modify the above function? Thank YOU.