Impersonate

Description

Using this activity it is possible to impersonate another user so as to execute the workflow as if it were really the user in question to carry out the various operations.

It is useful to use this technique in case you need, for example, to make changes and keep track of who made them. In fact, without this functionality it would result that all the changes were made by the default user of the workflow engine and not by the real user. Using impersonation will also respect all the grants of the impersonated user, improving security. In order for impersonation to be successful, the user running the workflow must be configured to be able to impersonate himself in all or in a list of users. It is possible to return to the starting situation using the Deimpersonate activity which allows you to return to execute the workflow with the default user of the workflow engine.

Videos:


DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Misc

UserExternalId InArgument<String>

The external id of the user to impersonate.

UserId InArgument<Int32>

The id of the user to impersonate.