开发者

Sharepoint 2010 Client Object Model - windows authentication - credentials of logged on user

In a SharePoint application page I have to get listitems from a list on remote server in the same Active Directory domain. I use the Client Object Model to get at the list. If I do not supply Network credentials (with userid, password and domain) I get a 401 access denied.

Is there a way to pass the crede开发者_JS百科ntials of the user that is logged in in Sharepoint (not in the windows client; can be different) to the ClientContext to allow it to get at the remote list?


Check if your Sharepoint2010 Web Application is configured with Claims based authentication. It needs to be configured with Classic Authentication so that you will not have to pass the username and password explicitly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜