Back to Devexpress

PermissionSettingHelper Class

expressappframework-devexpress-dot-expressapp-dot-security-fea05b7f.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Security

Declaration

csharp
public static class PermissionSettingHelper
vb
Public Module 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 file to easily configure predefined permissions in code.

Inheritance

Object PermissionSettingHelper

See Also

PermissionSettingHelper Members

DevExpress.ExpressApp.Security Namespace