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

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

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject

Type Parameters

Name Description
T

See Also