Skip to main content
.NET 6.0+

Role.AddMemberAccessPermission<T>(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<T>(
    string memberName,
    string operations
)

Parameters

Name Type Description
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.

Type Parameters

Name
T

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