Modifier

Partager via


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

Member Description
Permissions The Permissions scope
Entitlements The Entitlements scope
Both The 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