Configures Passport-based authentication in ASP.NET applications.
Assembly: System.Web (in System.Web.dll)
The class allows you to access and configure a node in the Machine.config or Web.config configuration file identified by the passport tag.
The class can write information into the related section of the configuration file at machine, site, or application level only. Any attempt to write in a configuration file at a different level in the hierarchy will result in an error message generated by the parser. You can use this class to read configuration information at any level in the hierarchy.
The following code example shows how to obtain the object from the configuration file of an existing Web application. Also shown is a configuration example.
<authentication> <passport redirectUrl="Login.aspx"/> </authentication>
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.