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.v22.1.dll

Declaration

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

Remarks

The user name is taken from the currently used Windows account via the WindowsIdentity object. For details, see the AuthenticationActiveDirectory.Authenticate method description.

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

Note

Certain browsers (e.g., 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 shown in any case.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AuthenticationActiveDirectory class.

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.

See Also