RunBaseBatch.runsImpersonated Method [AX 2012]

Indicates whether the batch job will be run with the account of the user who created the job.

Syntax

public boolean runsImpersonated()

Run On

Called

Return Value

Type: boolean
true if the batch job is run on the AOS server as the submitting user account; false, if the batch job will be executed on the client.

Remarks

If you want a batch job that extends this class to run on a client, you must override this method to return false.

Jobs that return true must not access any client-side functionality.

If true is returned, the batch server will execute the job by using the runAs method.

See Also

Reference

RunBaseBatch Class