Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SecurityStrategy.RolesMergingMode Property

Specifies how the Security System determines if a user can perform a specific operation when this user has multiple roles with different permission sets.

Namespace: DevExpress.ExpressApp.Security

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

#Declaration

[DefaultValue(RolesMergingMode.GrantedInAnyRole)]
public RolesMergingMode RolesMergingMode { get; set; }

#Property Value

Type Default Description
RolesMergingMode GrantedInAnyRole

A RolesMergingMode enumeration value specifying the roles merging mode when a user has multiple roles.

Available values:

Name Description
GrantedInAnyRole

An allowed operation can be allowed in any role.

GrantedInAllRoles

An allowed operation should be allowed in all roles.

#Remarks

By default, a user can execute an operation if it is allowed in any role assigned to this user (the GrantedInAnyRole mode). You can set the RolesMergingMode property to GrantedInAllRoles to make the behavior more strict and demand that an operation should be allowed in all roles.

You can change the RolesMergingMode value in the Application Designer.

RolesMergingMode

See Also