Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

PermissionSettingHelper.AddTypePermissionsRecursively Method

Name Parameters Description
AddTypePermissionsRecursively(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>, ITypesInfo) static role, targetType, operations, state, typesInfo Recursively adds type permissions to the current role for each type which is assignable from the given type (or is equal to it). If the permission for the type already exists, then the settings of this existing type permission are altered.
AddTypePermissionsRecursively<T>(IPermissionPolicyRole, String, Nullable<SecurityPermissionState>, ITypesInfo) static role, operations, state, typesInfo Recursively adds type permissions to the current role for each type which is assignable from the given type (or is equal to it). If the permission for the type exists already, then the settings of this existing type permission are altered.