SecurityStrategy.AssociationPermissionsMode Property
Specifies the mode of processing security permissions for associations.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| AssociationPermissionsMode | Auto | An AssociationPermissionsMode value. |
Remarks
ASP.NET Core Blazor and WinForms Applications (.NET)
Add the following code to the Startup.cs file:
builder.Security
.UseIntegratedMode(options => {
options.RoleType = typeof(PermissionPolicyRole);
options.UserType = typeof(YourSolutionName.Module.BusinessObjects.ApplicationUser);
options.UserLoginInfoType = typeof(YourSolutionName.Module.BusinessObjects.ApplicationUserLoginInfo);
//...
options.Events.OnSecurityStrategyCreated += (securityStrategy) => {
//...
((SecurityStrategy)securityStrategy).AssociationPermissionsMode = AssociationPermissionsMode.Manual;
})
Other Application Types
You can specify the AssociationPermissionsMode property value in the Application Designer by focussing the SecurityStrategy component and selecting the value in the Properties grid.

Refer to the Permissions for Associated Objects for more information about the available modes.
See Also