NavApp.IsEntitled(Text [, Guid]) Method

Version: Available or changed with runtime version 10.2.

Determines if the current user is entitled to a specific entitlement id for the application.

Syntax

[Ok := ]  NavApp.IsEntitled(Id: Text [, AppId: Guid])

Parameters

Id
 Type: Text
A value containing the entitlement id to search for.

[Optional] AppId
 Type: Guid
The ID of the application for which to retrieve information, defaults to the current application.

Return Value

[Optional] Ok
 Type: Boolean
*true if the current user is entitled to the specified entitlement, oterwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

Remarks

For examples on how to use this method, see Entitlement object.

NavApp Data Type
Getting Started with AL
Developing Extensions