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.EF.v18.2.dll

Declaration

public SecuritySystemMemberPermissionsObject AddMemberAccessPermission(
    Type type,
    string memberName,
    string operations,
    string criteria
)
Public Function AddMemberAccessPermission(
    type As Type,
    memberName As String,
    operations As String,
    criteria As String
) As SecuritySystemMemberPermissionsObject

Parameters

Type Name Description
Type type

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

String memberName

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

String operations

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

String criteria

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