.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.