AuthenticationSection.Passport Property

 
Note: This API is now obsolete.

Gets the Passport element property.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("passport")>
<ObsoleteAttribute("This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>
Public ReadOnly Property Passport As PassportAuthentication

Property Value

Type: System.Web.Configuration.PassportAuthentication

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

The following code example shows how to use the Passport element property.

' Get the current Passport property.
  Dim currentPassport _
  As PassportAuthentication = _
  authenticationSection.Passport

' Get the Passport redirect URL.
  Dim passRedirectUrl As String = _
  currentPassport.RedirectUrl

.NET Framework
Available since 2.0
Return to top
Show: