2
Webサービス経由で共有ポイントから認証プロバイダを取得する方法...Webサービスを通じて認証プロバイダをsharepointから取得する方法は?
私はPythonアプリケーションから共有ポイントにログインしています。選択した認証プロバイダを共有ポイントサイトから見つける必要があります。どのように取得するのですか?
Webサービス経由で共有ポイントから認証プロバイダを取得する方法...Webサービスを通じて認証プロバイダをsharepointから取得する方法は?
私はPythonアプリケーションから共有ポイントにログインしています。選択した認証プロバイダを共有ポイントサイトから見つける必要があります。どのように取得するのですか?
プロバイダーインスタンスを取得して、Membership.ValidateUser(username, password)
のような操作を行うことはできません。
:
string siteUrl = "http://example.com/sites/hr";
AuthenticationService.Authentication client = new AuthenticationService.Authentication();
client.AllowAutoRedirect = true;
client.CookieContainer = new CookieContainer();
client.Url = siteUrl + "_vti_bin/Authentication.asmx";
AuthenticationService.LoginResult loginResult = client.Login(username, password);
if (loginResult.ErrorCode == AuthenticationService.LoginErrorCode.NoError)
{
string cookie = client.CookieContainer.GetCookieHeader(new Uri(siteUrl));
}
し、得られたクッキーを使用します。
Reading a SharePoint list with PHPポストを読む - それはあなたに、マイクロソフト以外の環境からのSharePointへのアクセスに関するいくつかのアイデアを与えるかもしれません。