AuthenticationSection.Passport Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
Gets the Passport element property.
public:
property System::Web::Configuration::PassportAuthentication ^ Passport { System::Web::Configuration::PassportAuthentication ^ get(); };
[System.Configuration.ConfigurationProperty("passport")]
public System.Web.Configuration.PassportAuthentication Passport { get; }
[System.Configuration.ConfigurationProperty("passport")]
[System.Obsolete("This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public System.Web.Configuration.PassportAuthentication Passport { get; }
[<System.Configuration.ConfigurationProperty("passport")>]
member this.Passport : System.Web.Configuration.PassportAuthentication
[<System.Configuration.ConfigurationProperty("passport")>]
[<System.Obsolete("This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
member this.Passport : System.Web.Configuration.PassportAuthentication
Public ReadOnly Property Passport As PassportAuthentication
A Passport element property that contains information used during passport-based authentication.
- Attributes
The following code example shows how to use the Passport element property.
// Get the current Passport property.
PassportAuthentication currentPassport =
authenticationSection.Passport;
// Get the Passport redirect URL.
string passRedirectUrl = currentPassport.RedirectUrl;
' Get the current Passport property.
Dim currentPassport _
As PassportAuthentication = _
authenticationSection.Passport
' Get the Passport redirect URL.
Dim passRedirectUrl As String = _
currentPassport.RedirectUrl
Product | Versions (Obsolete) |
---|---|
.NET Framework | 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: