.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.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.EF.v19.2.dll

Declaration

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

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.

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.

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