Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AuthenticationActiveDirectory Class

An Authentication that assumes an automatic logon.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.1.dll

#Declaration

[ToolboxTabName("DX.24.1: XAF Security")]
public class AuthenticationActiveDirectory :
    AuthenticationBase

#Remarks

XAF uses the WindowsIdentity object to obtain the user name from the Windows account. For additional information, refer to the following topic: AuthenticationActiveDirectory.Authenticate.

The AuthenticationActiveDirectory authentication type does not support Active Directory Security Groups out of the box. For information on how to map XAF security roles to AD groups, refer to the following topic: How to: Assign the Same Permissions for All Users of an Active Directory Group.

Use IBlazorApplicationBuilder.Security.AddWindowsAuthentication in ASP.NET Core Blazor applications or IWinApplicationBuilder.Security.UseWindowsApplication in Windows Forms applications to add this authentication.

Note

Certain browsers (for example, Firefox), may prompt users to type their Windows credentials in a logon dialog which is rendered by the browser itself. Refer to the browser documentation to see if it is possible to avoid this dialog. The standard XAF logon dialog is not displayed in any case.

See Also