Skip to main content
.NET 6.0+

Role.AddMemberAccessPermission(Type, String, String) Method

Adds the specified member access permissions to the Role instance.

Namespace: DevExpress.Persistent.BaseImpl.EF

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

Declaration

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

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.

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