Partilhar via


xMenuFunction.hasRunPermissions Method

Definition

Overloads

hasRunPermissions()

Checks if the xMenuFunction object has execute permissions and run() may be called successfully.

hasRunPermissions(xArgs)

hasRunPermissions()

Checks if the xMenuFunction object has execute permissions and run() may be called successfully.

public:
 virtual bool hasRunPermissions();
public virtual bool hasRunPermissions ();
abstract member hasRunPermissions : unit -> bool
override this.hasRunPermissions : unit -> bool
Public Overridable Function hasRunPermissions () As Boolean

Returns

true if necessary permissions exist to successfully call run().

Remarks

This function may throw in case of permissions failure.

Applies to

hasRunPermissions(xArgs)

public:
 virtual bool hasRunPermissions(Dynamics::AX::Application::xArgs ^ _args);
public virtual bool hasRunPermissions (Dynamics.AX.Application.xArgs _args);
abstract member hasRunPermissions : Dynamics.AX.Application.xArgs -> bool
override this.hasRunPermissions : Dynamics.AX.Application.xArgs -> bool
Public Overridable Function hasRunPermissions (_args As xArgs) As Boolean

Parameters

_args
xArgs

An xArgs class object as would be passed to the run() method; optional.

Returns

Applies to