AuthenticationSection.Passport AuthenticationSection.Passport AuthenticationSection.Passport AuthenticationSection.Passport Property

Definition

Warning

This API is now obsolete.

Gets the Passport element property.

public:
 property System::Web::Configuration::PassportAuthentication ^ Passport { System::Web::Configuration::PassportAuthentication ^ 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; }
member this.Passport : System.Web.Configuration.PassportAuthentication
Public ReadOnly Property Passport As PassportAuthentication

Property Value

A Passport element property that contains information used during passport-based authentication.

Examples

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

Applies to