Modifica

Condividi tramite


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

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 was replaced by Windows Live ID.

Applies to