Back to Devexpress

ISecurityStrategyBase.IsAuthenticated Property

expressappframework-devexpress-dot-expressapp-dot-security-dot-isecuritystrategybase.md

latest2.5 KB
Original Source

ISecurityStrategyBase.IsAuthenticated Property

Indicates if the current user is authenticated.

Namespace : DevExpress.ExpressApp.Security

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
bool IsAuthenticated { get; }
vb
ReadOnly Property IsAuthenticated As Boolean

Property Value

TypeDescription
Boolean

true if the current user is authenticated; otherwise, false.

|

Remarks

The following help topic demonstrates how to use this property: Access Object Space, Security System, Caption Helper, and XAF Modules in the ASP.NET Core Environment.

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

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/Security.Extensions/Controllers/LogonActionCustomizationController.cs#L22

csharp
base.OnFrameAssigned();
    Active[ControllerActiveKey] = !Application.Security.IsAuthenticated;
}

See Also

ISecurityStrategyBase Interface

ISecurityStrategyBase Members

DevExpress.ExpressApp.Security Namespace