Изменить

Поделиться через


RequiredPermissions attribute

Version: Available or changed with runtime version 11.0.

Specifies the permissions required by the subscriber of an external event.

Applies to

  • Method

Syntax

[RequiredPermissions(PermissionObjectType: PermissionObjectType, ObjectId: Integer, Permissions: Text)]

Arguments

PermissionObjectType
 Type: PermissionObjectType
Specifies the type of object that the attribute assigns permissions to.

ObjectId
 Type: Integer
Specifies the ID of the object that permissions are assigned to. You can specify the object by its ID (integer) or by its name using the syntax <ObjectType>::<ObjectName>, such as Codeunit::MyCodeunit. It is recommended to specify the object by name for readability.

Permissions
 Type: Text
Specifies the permission values. You can specify the permissions using the syntax <permission value>.

Getting Started with AL
Developing Extensions