Freigeben über


PassportIdentity.LogoutURL

PassportIdentity.LogoutURL()

Returns the Microsoft® .NET Passport logout URL string.

Syntax

public string LogoutURL()

Return values

Returns the URL of the appropriate network sign-out page as customized for the domain authority of the currently connected .NET Passport user.

Example

For an example of this overloaded method, see PassportIdentity.LogoutURL(string,string,int,string,int).

Remarks

This overloaded method returns the global sign-out URL, the return URL specified in the Passport Manager Administration utility. If the return URL value set in the Passport Manager Administration utility is blank, the URL defined in the application's logout URL is used to specify the return URL for this method.

Successful sign-out of users from your site also depends on implementation of a cookie-delete page or an equivalent ISAPI or programmatic solution for overwriting and expiring the .NET Passport cookies.

This method uses the default parameters.

szReturnURL

The registry default is used and shown in the Passport Manager Administration utility.

szCOBrandArgs

The registry default is used and shown in the Passport Manager Administration utility.

iLangID

The registry default is used and shown in the Passport Manager Administration utility.

strDomain

The domain authority as detected by user context.

iUseSecureAuth

The default of false is used.

See Also

Passport PassportIdentity Object