PermissionSettingHelper.AddObjectPermission<T>(IPermissionPolicyRole, String, String, Nullable<SecurityPermissionState>) Method

Namespace: DevExpress.ExpressApp.Security

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

Syntax

public static IPermissionPolicyObjectPermissionsObject AddObjectPermission<T>(
    this IPermissionPolicyRole role,
    string operations,
    string criteria,
    SecurityPermissionState? state
)where T : class

Parameters

Type Name Description
IPermissionPolicyRole role
String operations
String criteria
System.Nullable<SecurityPermissionState> state

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject

Type Parameters

Name Description
T