PassportIdentity.SignOut Method (String)


Logs off the given Passport member from the current session. This class is deprecated.

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

public static void SignOut(
	string strSignOutDotGifFileName


Type: System.String

An HTML fragment containing an image for the user to click on to sign out.

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

// This example demonstrates how to sign a user out of Passport.
// local GIF file that the user is redirected to.
string signOutGifFile = "signout.gif";
// Signs the user out of their Passport Profile and displays the SignOut.gif file.

.NET Framework
Available since 1.1
Return to top