MemberOperationPermission(Type, String, String) Constructor

Initializes a new instance of the MemberOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

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

Syntax

public MemberOperationPermission(
    Type objectType,
    string memberName,
    string operation
)

Parameters

Type Name Description
Type objectType

A System.Type object which is the type exposing the secured member.

String memberName

A string which is the name of the secured member.

String operation

A string which is the name of the secured operation. Supported operations are "Read" and "Write".

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