Share via


PassportIdentity.AuthUrl2

PassportIdentity.AuthUrl2

Returns a string containing the Login server URL for a user's domain, as well as optional information sent to the Login server in the query string.

Important  This method takes advantage of the Microsoft® .NET Passport authentication capabilities that are built into Microsoft® Windows XP. If you use this method to generate a link to the Login server, users who are using Microsoft® Internet Explorer 6 on Windows XP will enter their credentials into the .NET Passport sign-in user interface (UI) that is integrated into the operating system. As a result, any customized cobranding you supply will not be displayed. If you want to ensure that all users sign in using the cobranding-enabled Web UI, use the AuthURL method. For more information, see PassportIdentity.AuthURL.

AuthUrl2 returns a string that is essentially the URL of the page, but adds a query string parameter specifying the Login server URL for a user, along with optional information in the Login server URL query string. When handled by .NET Passport filters on a .NET Passport-enabled site, this URL will redirect the user to the Login server, but only if authentication has not already been accomplished through a .NET Passport-aware application, such as Internet Explorer 6 using Windows XP. This URL can be used to generate a link for a user who has not signed in previously or who has an expired Ticket.

Overload List

PassportIdentity.AuthUrl2()

Returns a string containing the Login server URL for a user's domain, as well as optional information sent to the Login server in the query string.

PassportIdentity.AuthUrl2(string)

Returns a string containing the Login server URL for a user's domain, as well as optional information sent to the Login in the query string.

PassportIdentity.AuthUrl2(string,int,bool,string,int,string,int,bool)

Returns a string containing the Login server URL for a user's domain, as well as optional information sent to the Login in the query string.

PassportIdentity.AuthUrl2(string,int,int,string,int,string,int,int)

Returns a string containing the Login server URL for a user's domain, as well as optional information sent to the Login server in the query string.

See Also

Passport PassportIdentity Object