A newer version of this page is available. Switch to the current version.

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

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public static IPermissionPolicyObjectPermissionsObject AddObjectPermission<T>(
    this IPermissionPolicyRole role,
    string operations,
    string criteria,
    SecurityPermissionState? state
)
    where T : class
<ExtensionAttribute>
Public Shared Function AddObjectPermission(Of T As Class)(
    role As IPermissionPolicyRole,
    operations As String,
    criteria As String,
    state As SecurityPermissionState?
) As IPermissionPolicyObjectPermissionsObject

Parameters

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

Type Parameters

Name
T

Returns

Type
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject
See Also