SharePoint Office 365의 웹 서비스 인증 SharePoint BPO에 비해?
-
09-12-2019 - |
문제
공개 웹 사이트에서는 Forms 사용자가 SharePoint BPOS 사이트의 목록에 데이터를 삽입하는 데 사용할 수 있습니다.우리는이를 위해 웹 서비스 (인증 / 목록)를 사용하고 인증 할 코드 조각은 다음과 같습니다.
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
로 다시 돌아온 것이지만 사이트에 로그온 할 수 있기 때문에 암호 일치를 알고 있습니다.
나는 Google을했고, 이런 종류의 일이 BPOS에서 Office 365로 바뀌었던 것처럼 보입니다.
미리 감사드립니다.
해결책
예 BPOS에서 365 - 365 클레임 기반 인증을 사용하여 변경되었습니다.
http://code.msdn.microsoft.com/remote-authentication-IN-B7B6F43C
제휴하지 않습니다 sharepoint.stackexchange