PermissionSettingHelper.AddMemberPermission(IPermissionPolicyTypePermissionObject, String, String, String, Nullable<SecurityPermissionState>) Method

Adds the member permission to the current type permission.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v18.1.dll

Syntax

public static IPermissionPolicyMemberPermissionsObject AddMemberPermission(
    this IPermissionPolicyTypePermissionObject typePermission,
    string operations,
    string members,
    string criteria,
    SecurityPermissionState? State
)

Parameters

Type Name Description
DevExpress.Persistent.Base.IPermissionPolicyTypePermissionObject typePermission

An IPermissionPolicyTypePermissionObject object specifying the type permission.

String operations

A string containing the semicolon-separated list of security operations. Operation names and their delimiter are defined by string constants declared in the SecurityOperations static class.

String members

A string containing the semicolon-separated list of target member names.

String criteria

A string containing the criteria expression that specifies the target object(s).

System.Nullable<SecurityPermissionState> State

A SecurityPermissionState enumeration value specifying if access is granted or denied.

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyMemberPermissionsObject

A DevExpress.Persistent.Base.IPermissionPolicyMemberPermissionsObject object specifying the added member permission.