InherentPermissionsScope option type

Version: Available or changed with runtime version 10.0.

The different types of scope that the InherentPermissions attribute can apply to.

Members

MemberDescription
PermissionsThe Permissions scope
EntitlementsThe Entitlements scope
BothThe Both scope

Remarks

InherentPermissionScope is used as a parameter with InherentPermissions attribute, which can override the entitlements. It's an optional method and the default value for InherentPermissionScope is Both that includes permissions and entitlements. To learn more about syntax and usage of InherentPermissions attribute, see InherentPermissions Attribute.

Note

You can use inherent permissions only for objects within the same extension.

Example

[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Entitlements)]

[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Permissions)]

[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Both)]

Getting Started with AL
Developing Extensions
Inherent Permissions