Share via


PassportIdentity.SignOut(String) Methode

Definition

Meldet das angegebene Passport-Mitglied von der aktuellen Sitzung ab. Diese Klasse ist veraltet.

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)

Parameter

strSignOutDotGifFileName
String

Ein HTML-Fragment mit einem Bild, auf das der Benutzer zum Abmelden klicken kann.

Beispiele

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

Hinweise

Diese Klasse wurde veraltet und wird nicht mehr unterstützt. Microsoft Passport Network wurde durch Windows Live ID ersetzt.

Gilt für