Back to Devexpress

AuthenticationActiveDirectory Class

expressappframework-devexpress-dot-expressapp-dot-security-4f0e597c.md

latest3.9 KB
Original Source

AuthenticationActiveDirectory Class

An Authentication that assumes an automatic logon.

Namespace : DevExpress.ExpressApp.Security

Assembly : DevExpress.ExpressApp.Security.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Security

Declaration

csharp
public class AuthenticationActiveDirectory :
    AuthenticationBase
vb
Public Class AuthenticationActiveDirectory
    Inherits 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.

Inheritance

Object MarshalByRefObject Component AuthenticationBase AuthenticationActiveDirectory AuthenticationActiveDirectory<UserType, LogonParametersType>

AuthenticationActiveDirectory<UserType>

See Also

AuthenticationActiveDirectory Members

AuthenticationStandard

Active Directory and OAuth2 Authentication Providers in ASP.NET Core Blazor Applications

DevExpress.ExpressApp.Security Namespace