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.SetTypePermissions(Type, String, SecuritySystemModifier) Method

Sets type permissions for the specified business object type.

Namespace: DevExpress.Persistent.BaseImpl.EF

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

#Declaration

public TypePermissionObject SetTypePermissions(
    Type type,
    string operations,
    SecuritySystemModifier securitySystemModifier
)

#Parameters

Name Type Description
type Type

A type of the business object for which type permissions are set.

operations String

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

securitySystemModifier DevExpress.ExpressApp.Security.Strategy.SecuritySystemModifier

A value of the SecuritySystemModifier enumeration collection, which is an allow or deny security system modifier.

#Returns

Type Description
DevExpress.Persistent.BaseImpl.EF.TypePermissionObject

The TypePermissionObject object specifying type permissions.

See Also