.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

IPermissionPolicyRole Interface

Implemented by business classes specifying a security role that supports the Allow/Deny Permission Policies.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v21.2.dll

Declaration

public interface IPermissionPolicyRole

Remarks

Built-in classes that implement IPermissionPolicyRole are DevExpress.Persistent.BaseImpl.PermissionPolicyRole and DevExpress.Persistent.BaseImpl.EF.PermissionPolicyRole.

Tip

You can use extension methods declared in the static PermissionSettingHelper class with object instances of the IPermissionPolicyRole type. Call these extension methods from the ModuleUpdater.UpdateDatabaseAfterUpdateSchema method implemented in the Updater.cs (Updater.vb) file to easily configure predefined permissions in code.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IPermissionPolicyRole interface.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also