Skip to main content
.NET Framework 4.5.2+

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