PermissionSettingHelper.EnsureTypePermission Method
Name | Parameters | Description |
---|---|---|
EnsureTypePermission(IPermissionPolicyRole, Type) static | role, targetType | Searches for the first permission for the specified type in the current role. If the type permission is not found, it is created. |
EnsureTypePermission<T>(IPermissionPolicyRole) static | role | Searches for the first permission for the specified type in the current role. If the type permission is not found, it is created. |