The requested page is not available for the requested platform. You are viewing the content for Default platform.

PermissionSettingHelper.AddTypePermissionsRecursively Method

Name Description
AddTypePermissionsRecursively(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>)

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>)

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.