PassportIdentity.SignOut(String) Metodo

Definizione

Disconnette il membro Passport specificato dalla sessione corrente. Questa classe è deprecata.

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)

Parametri

strSignOutDotGifFileName
String

Frammento HTML contenente un'immagine su cui l'utente può fare clic per disconnettersi.

Esempio

// 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)

Commenti

Questa classe è stata deprecata e non è più supportata. Microsoft Passport Network è stato sostituito da Windows Live ID.

Si applica a