Skip to main content
.NET Framework 4.6.2+

PermissionSettingHelper.AddMemberPermission Method

Name Parameters Description
AddMemberPermission(IPermissionPolicyRole, Type, String, String, String, Nullable<SecurityPermissionState>) static role, type, operations, members, criteria, State Finds the first type permission for the given type in the current role and adds the member permission to it. If the appropriate type permission is not found, it is created.
AddMemberPermission(IPermissionPolicyTypePermissionObject, String, String, String, Nullable<SecurityPermissionState>) static typePermission, operations, members, criteria, State Adds the member permission to the current type permission.
AddMemberPermission<T>(IPermissionPolicyRole, String, String, String, Nullable<SecurityPermissionState>) static role, operations, members, criteria, State Finds the first type permission for the specified type in the role and adds the member permission to it. If the appropriate type permission is not found, this method creates it.