Skip to main content
.NET Framework 4.5.2+

Role.AddMemberAccessPermission(Type, String, String, String) Method

Adds the specified member access permissions to the Role instance.

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.ExpressApp.Security.EF6.v22.2.dll

Declaration

public SecuritySystemMemberPermissionsObject AddMemberAccessPermission(
    Type type,
    string memberName,
    string operations,
    string criteria
)

Parameters

Name Type Description
type Type

A type of the business object for which the member access permissions are added.

memberName String

A string which is a semicolon-separated member name list, for which the member access permissions are added.

operations String

A string which is a semicolon-separated security operation list to be allowed.

criteria String

A string which is a critera matching the target objects.

Returns

Type Description
DevExpress.Persistent.BaseImpl.EF.SecuritySystemMemberPermissionsObject

The SecuritySystemMemberPermissionsObject object that specifies the role’s permissions.

Remarks

The returned object is added to the SecuritySystemTypePermissionObject.MemberPermissions collection.

See Also