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

PermissionSettingHelper Class

Provides extension methods for security roles that support the Allow/Deny Permission Policy, and for type permissions associated with these roles.

Namespace: DevExpress.ExpressApp.Security

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

#Declaration

public static class PermissionSettingHelper

#Remarks

You can use extension methods provided by the PermissionSettingHelper class in both Entity Framework and XPO implementations of the IPermissionPolicyRole interface. Additionally, PermissionSettingHelper provides extension methods for the IPermissionPolicyTypePermissionObject objects assigned to the IPermissionPolicyRole.TypePermissions collection. You can call these extension methods from the ModuleUpdater.UpdateDatabaseAfterUpdateSchema method implemented in the Updater.cs (Updater.vb) file to easily configure predefined permissions in code.

#Inheritance

Object
PermissionSettingHelper
See Also