{"title":"InherentPermissionsScope option type","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/inherentpermissionsscope/inherentpermissionsscope-option/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/inherentpermissionsscope/inherentpermissionsscope-option, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/inherentpermissionsscope/inherentpermissionsscope-option","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"The different types of scope that the InherentPermissions attribute can apply to.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"InherentPermissionsScope option type","slug":"inherentpermissionsscope-option-type","at":0,"chars":1277},{"level":2,"title":"Members","slug":"members","at":182,"chars":120},{"level":2,"title":"Remarks","slug":"remarks","at":302,"chars":473},{"level":2,"title":"Example","slug":"example","at":775,"chars":347},{"level":2,"title":"Related information","slug":"related-information","at":1122,"chars":155}],"text":"# InherentPermissionsScope option type\n> Version: _Available or changed with runtime version 10.0._\nThe different types of scope that the InherentPermissions attribute can apply to.\n## Members\nMember|Description\nPermissions|The Permissions scope\nEntitlements|The Entitlements scope\nBoth|The Both scope\n## Remarks\nInherentPermissionScope 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 ../../attributes/devenv-inherentpermissions-attribute.\n> NOTE\n> You can use inherent permissions only for objects within the same extension.\n## Example\n```al\n[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Entitlements)]\n\n[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Permissions)]\n\n[InherentPermissions(PermissionObjectType:Table, Database:MyTable, 'x', InherentPermissionScope:Both)]\n```\n## Related information\nGetting Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>\n../../devenv-inherent-permissions"}