質問

私たちの公共のWebサイトでは、私たちのSharePoint BPOSサイトのリストにデータを挿入するために使用できるフォームが使用できる。これを行うためにWebサービス(認証/リスト)を使用し、認証するコードの一部は次のとおりです。

public void authentication()
{
   Auth.Authentication authenticationObj = new Auth.Authentication();
   authenticationObj.Url = authServiceUrl;
   authenticationObj.CookieContainer = new System.Net.CookieContainer();
   authenticationObj.AllowAutoRedirect = true;
   authenticationObj.Credentials = new System.Net.NetworkCredential(_authUserName, _authPassword);

   Auth.LoginResult result = authenticationObj.Login(_authUserName, _authPassword);
}
.

Office 365に移行したばかりで、結果はPassWordDoesNotMatchで戻ってきますが、私はそれでサイトにログオンすることができるのでパスワードの一致を知っています。

私はグーグルをしました、そしてこのようなことをやっているように見えます。

事前にありがとうございました。

役に立ちましたか?

解決

はいBPOから365 - 365に変更されたクレームベースの認証を使用しています。

http://www.wictorwilen.se/post/how-to-do-ACTIOVE-Authentication-To-Office-365-and-SharePoint-Online.aspx

href="http://code.msdn.microsoft.com/remote-authentication-in-b7b6f43c" rel="nofollow"> http://code.msdn.microsoft.com/remote-Authentication-IN-B7B6F43C

hth http://blogs.msdn.com/b/cjohnson/archive / part-headless-authentication-with-SharePoint-online-and-the-client-side-object-model.aspx "rel=" nofollow "> http://blogs.msn.com/b/cjohnson/archive / part-headless-authentication-with-SharePoint-online-and-the-the-the-client-side-model-model.aspx

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top