Skip to main content
.NET 6.0+

IsGrantedExtensions.CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object, String) Method

For internal use.

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public static bool CanReadByRole<T>(
    this SecurityStrategy security,
    IPermissionPolicyRole targetRole,
    object targetObjectKey,
    string memberName = null
)

Parameters

Name Type
security SecurityStrategy
targetRole IPermissionPolicyRole
targetObjectKey Object

Optional Parameters

Name Type Default
memberName String null

Type Parameters

Name
T

Returns

Type
Boolean
See Also