Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Role.AddMemberAccessPermission<T>(String, String, String) Method

Adds the specified member access permissions to the Role instance.

Namespace: DevExpress.Persistent.BaseImpl.EF

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

#Declaration

public SecuritySystemMemberPermissionsObject AddMemberAccessPermission<T>(
    string memberName,
    string operations,
    string criteria
)

#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.

criteria String

A string which is a critera matching the target objects.

#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