Freigeben über


PassportIdentity.SignOut-Methode

Meldet das angegebene Passport-Mitglied von der aktuellen Sitzung ab.

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

Syntax

'Declaration
Public Shared Sub SignOut ( _
    strSignOutDotGifFileName As String _
)
'Usage
Dim strSignOutDotGifFileName As String

PassportIdentity.SignOut(strSignOutDotGifFileName)
public static void SignOut (
    string strSignOutDotGifFileName
)
public:
static void SignOut (
    String^ strSignOutDotGifFileName
)
public static void SignOut (
    String strSignOutDotGifFileName
)
public static function SignOut (
    strSignOutDotGifFileName : String
)

Parameter

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

Hinweise

Weitere Informationen finden Sie in der Passport SDK-Dokumentation der MSDN Library unter https://msdn.microsoft.com/library/deu.

Beispiel

' 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)
// 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.
String signOutGifFile = "signout.gif";
// Signs the user out of their Passport Profile and displays the 
// SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile);

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

PassportIdentity-Klasse
PassportIdentity-Member
System.Web.Security-Namespace