Skip to main content
A newer version of this page is available. .

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 given type in the current role and adds the member permission to it. If the appropriate type permission is not found, it is created.