The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v19.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
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
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 Description
role IPermissionPolicyRole
operations String
criteria String
state Nullable<SecurityPermissionState>

Parameters

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

Parameters

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

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject

Returns

Type Description
DevExpress.Persistent.Base.IPermissionPolicyObjectPermissionsObject

Type Parameters

Name Description
T

Type Parameters

Name Description
T

Type Parameters

Name Description
T
See Also