PassportAuthentication.RedirectUrl プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PassportAuthentication.RedirectUrl プロパティの意味・解説 

PassportAuthentication.RedirectUrl プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

要求リダイレクト先の URL取得または設定します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As PassportAuthentication
Dim value As String

value = instance.RedirectUrl

instance.RedirectUrl = value
public string RedirectUrl { get;
 set; }
/** @property */
public String get_RedirectUrl ()

/** @property */
public void set_RedirectUrl (String value)
public function get RedirectUrl
 () : String

public function set RedirectUrl
 (value : String)

プロパティ
要求リダイレクト先のページURL

解説解説

RedirectUrl は、Passport 認証が必要であるにもかかわらずユーザーPassport 認証使用してサインオンしなかった場合に、要求リダイレクトされるページURL指定します

使用例使用例

RedirectUrl プロパティ使用する方法次のコード例示します

' Get the passport redirect URL
Dim redirectUrl As String
 = passport.RedirectUrl

' Set the passport redirect Url.
passport.RedirectUrl = "passportLogin.aspx"

If Not authenticationSection.SectionInformation.IsLocked
 Then
  configuration.Save()
End If

// Get the passport redirect URL
string redirectUrl = passport.RedirectUrl;

// Set passport redirect Url.
passport.RedirectUrl = "passportLogin.aspx";

if (!authenticationSection.SectionInformation.IsLocked)
  configuration.Save();

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PassportAuthentication クラス
PassportAuthentication メンバ
System.Web.Configuration 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

PassportAuthentication.RedirectUrl プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



PassportAuthentication.RedirectUrl プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS