Share via


SMAServiceFunctionLine.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
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

SMAServiceFunctionLine Class