System.Web.UI.WebControls.LogoutAction Enumeration

Indicates the page that the user will be directed to when he or she logs out of the Web site.

Syntax

public enum LogoutAction

Remarks

The System.Web.UI.WebControls.LogoutAction enumeration members indicate the action taken when the user logs out of the Web site using the System.Web.UI.WebControls.LoginStatus control.

Members

Member NameDescription
Redirect

Redirects the user to a specified URL.

RedirectToLoginPage

Redirects the user to the login page defined in the site's configuration files (Machine.config and Web.config).

Refresh

Reloads the current page with the user logged out.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0