Share via


SMASubscriptionBase.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
Always returns true.

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

SMASubscriptionBase Class