Skip to main content

AuthenticationActiveDirectory.CreateUserAutomatically Property

Specifies whether a user is created automatically for the Windows account used to run the application.

Namespace: DevExpress.ExpressApp.Security

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

NuGet Package: DevExpress.ExpressApp.Security

Declaration

public bool CreateUserAutomatically { get; set; }

Property Value

Type Description
Boolean

true, to create a user for the current Windows account automatically; otherwise, false.

Remarks

If your XAF application is created through the standard wizard, call the CreateUserAutomatically method in the application builder code to create a user for the current Windows account automatically. If you create an application with the Template Kit and enables the Windows authentication (the Active Directory (uses Windows account) option), the kit adds the CreateUserAutomatically method call in the Startup.cs file.

See Also