xMenuFunction.hasRunPermissions Method [AX 2012]

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

public boolean hasRunPermissions([xArgs args])

Run On

Called

Parameters

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

Return Value

Type: boolean
true if neccessary permissions exist to successfully call run().

This function may throw in case of permissions failure.

Community Additions

ADD
Show: