Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to access a sharepoint application from my desktop application (written in C#). How should I pass credentials and verify authentication?

share|improve this question

2 Answers 2

If you are using Web Services to access Sharepoint data, then this may be helpful:

"HOW TO: Pass Current Credentials to an ASP.NET Web Service" http://support.microsoft.com/kb/813834

share|improve this answer

What kind of authentication your site is setup for? SharePoint provides you Authentication.ASMX service that can be used to authenticate against the site. Keep in mind this service authenticate you against SharePoint site setup with FBA authentication.

Reference: http://www.tonytestasworld.com/post/2009/06/04/How-To-Authenticate-and-Use-SharePoint-Web-Services-in-an-FBA-SharePoint-site.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.