Back to Devexpress

XafApplication.LogOff() Method

expressappframework-devexpress-dot-expressapp-dot-xafapplication-6d62ad4b.md

latest2.1 KB
Original Source

XafApplication.LogOff() Method

Performs the application logout.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual void LogOff()
vb
Public Overridable Sub LogOff

Remarks

This method is a base platform-independent method for the WinApplication.LogOff and BlazorApplication.LogOff methods. Use this method if you need to perform the LogOff operation from a platform-independent module.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LogOff() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

XAF_logon-form-manage-users-register-a-new-user-restore-a-password/CS/XPO/Security.Extensions/ManageUsersOnLogonController.cs#L96

csharp
View.Close(false);
    Application.LogOff();
}

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace