.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v20.2.dll

Declaration

[DefaultValue(RolesMergingMode.GrantedInAnyRole)]
public RolesMergingMode RolesMergingMode { get; set; }
<DefaultValue(RolesMergingMode.GrantedInAnyRole)>
Public Property RolesMergingMode As RolesMergingMode

Property Value

Type Description
RolesMergingMode

A RolesMergingMode enumeration value specifying the roles merging mode when a user has multiple 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