SecurityRights.hasMenuItemAccess Method [AX 2012]

Checks whether the user has access to the specified menu item.

public boolean hasMenuItemAccess(
    SecurableType type, 
    MenuItemName menuItem, 
   [Common record, 
    DataAreaId dataArea])

Run On

Called

Parameters

type
Type: SecurableType Enumeration

menuItem
Type: MenuItemName Extended Data Type

record
Type: Common Table

dataArea
Type: DataAreaId Extended Data Type

Return Value

Type: boolean
true if the user has access to the menu item; otherwise, false.

Community Additions

ADD
Show: