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

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public static IPermissionPolicyObjectPermissionsObject AddObjectPermission(
    this IPermissionPolicyRole role,
    Type type,
    string operations,
    string criteria,
    SecurityPermissionState? state
)
<ExtensionAttribute>
Public Shared Function AddObjectPermission(
    role As IPermissionPolicyRole,
    type As Type,
    operations As String,
    criteria As String,
    state As SecurityPermissionState?
) As IPermissionPolicyObjectPermissionsObject

Parameters

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

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject
See Also