PassportIdentity.SignOut(String) PassportIdentity.SignOut(String) PassportIdentity.SignOut(String) PassportIdentity.SignOut(String) Method

Definition

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

public:
 static void SignOut(System::String ^ strSignOutDotGifFileName);
public static void SignOut (string strSignOutDotGifFileName);
static member SignOut : string -> unit
Public Shared Sub SignOut (strSignOutDotGifFileName As String)

Parameters

strSignOutDotGifFileName
String String String String

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

Examples

// 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.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile);
' This example demonstrates how to sign a user out of Passport.
' local GIF file that the user is redirected to.
Dim signOutGifFile As String = "signout.gif"
' Signs the user out of their Passport Profile and displays the SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile)

Remarks

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.

Applies to