SecurityRights.hasMenuItemAccess Method

Definition

Overloads

hasMenuItemAccess(SecurableType, String, Common)
hasMenuItemAccess(SecurableType, String, Common, String)
hasMenuItemAccess(SecurableType, String)

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

hasMenuItemAccess(SecurableType, String, Common)

public:
 virtual bool hasMenuItemAccess(Dynamics::AX::Application::SecurableType type1, System::String ^ text1, Microsoft::Dynamics::Ax::Xpp::Common ^ common1);
public virtual bool hasMenuItemAccess (Dynamics.AX.Application.SecurableType type1, string text1, Microsoft.Dynamics.Ax.Xpp.Common common1);
abstract member hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string * Microsoft.Dynamics.Ax.Xpp.Common -> bool
override this.hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string * Microsoft.Dynamics.Ax.Xpp.Common -> bool
Public Overridable Function hasMenuItemAccess (type1 As SecurableType, text1 As String, common1 As Common) As Boolean

Parameters

text1
String
common1
Common

Returns

Applies to

hasMenuItemAccess(SecurableType, String, Common, String)

public:
 virtual bool hasMenuItemAccess(Dynamics::AX::Application::SecurableType _type, System::String ^ _menuItem, Microsoft::Dynamics::Ax::Xpp::Common ^ _record, System::String ^ _dataArea);
public virtual bool hasMenuItemAccess (Dynamics.AX.Application.SecurableType _type, string _menuItem, Microsoft.Dynamics.Ax.Xpp.Common _record, string _dataArea);
abstract member hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string * Microsoft.Dynamics.Ax.Xpp.Common * string -> bool
override this.hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string * Microsoft.Dynamics.Ax.Xpp.Common * string -> bool
Public Overridable Function hasMenuItemAccess (_type As SecurableType, _menuItem As String, _record As Common, _dataArea As String) As Boolean

Parameters

_menuItem
String
_record
Common
_dataArea
String

Returns

Applies to

hasMenuItemAccess(SecurableType, String)

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

public:
 virtual bool hasMenuItemAccess(Dynamics::AX::Application::SecurableType type1, System::String ^ text1);
public virtual bool hasMenuItemAccess (Dynamics.AX.Application.SecurableType type1, string text1);
abstract member hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string -> bool
override this.hasMenuItemAccess : Dynamics.AX.Application.SecurableType * string -> bool
Public Overridable Function hasMenuItemAccess (type1 As SecurableType, text1 As String) As Boolean

Parameters

text1
String

Returns

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

Applies to