Share via


SalesPurchReport_Invent_RU.runsImpersonated Method [AX 2012]

Indicates whether the batch job is run by using the account of the user who created the job.

Syntax

public boolean runsImpersonated()

Run On

Server

Return Value

Type: boolean
true if the batch job is run on the Microsoft Dynamics AX Application Object Server (AOS) server as the submitting user account; false if the batch job is run 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 runs the job by using the runAs method.

See Also

Reference

SalesPurchReport_Invent_RU Class