Log Off User

Log Off User

Controls featured in this example:

  • Sitecore Web Control

Classes featured in this example:

  • Sitecore.Security.Authentication.AuthenticationManager

C# Web Control Code

Sitecore.Security.Authentication.AuthenticationManager.Logout();

Notes

  • There is no real-time output for this code
  • This control is not bound to this page

Sources