SharePoint BPOSと比較して、SharePoint Office 365でのWebサービス認証?
-
09-12-2019 - |
質問
私たちの公共の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に変更されたクレームベースの認証を使用しています。
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