Skip to main content
.NET 6.0+

ObjectOperationPermission(Type, String, String) Constructor

Initializes a new instance of the ObjectOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public ObjectOperationPermission(
    Type objectType,
    string criteria,
    string operation
)

Parameters

Name Type Description
objectType Type

A System.Type object which is the type of the secured object.

criteria String

A string which specifies a criteria satisfied by a the secured object.

operation String

A string which is the name of the secured operation. Supported operations are “Read”, “Write”, “Delete” and “Navigate”.

Remarks

If the specified operation is not supported, a System.InvalidOperationException is thrown.

See Also