PassportIdentity.SignOut Method
.NET Framework 2.0
Logs off the given Passport member from the current session.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Shared Sub SignOut ( _ strSignOutDotGifFileName As String _ ) 'Usage Dim strSignOutDotGifFileName As String PassportIdentity.SignOut(strSignOutDotGifFileName)
public static void SignOut ( String strSignOutDotGifFileName )
public static function SignOut ( strSignOutDotGifFileName : String )
Not applicable.
Parameters
- strSignOutDotGifFileName
An HTML fragment containing an image for the user to click on to sign out.
' 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);
Community Additions
ADD
Show: