Export (0) Print
Expand All

RunBaseBatch.runsImpersonated Method [AX 2012]

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

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft