Share via


xMenuFunction.hasRunPermissions Method

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

Syntax

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().

Remarks

This function may throw in case of permissions failure.

See Also

Reference

xMenuFunction Class