Share via


PassportIdentity.AuthUrl

PassportIdentity.AuthUrl

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 does not take advantage of the Microsoft® .NET Passport authentication capabilities that are built into Microsoft® Windows® XP. The AuthURL2 method does use this functionality. For more information, see PassportIdentity.AuthURL2.

AuthUrl 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 Microsoft 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.AuthUrl()

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.AuthUrl(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.AuthUrl(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.AuthUrl(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