Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PermissionSettingHelper.AddTypePermissionsRecursively Method

Name Parameters Description
AddTypePermissionsRecursively(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>) static role, targetType, operations, state 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>) static role, operations, state 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.