WorkflowHostExtensionDecorateOnBehalfOfUser Method

Scanjour Workflow4 Reference Manual
Decorates the headers provided with the OnBehalfOfUser property according to the impersonator provided.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static void DecorateOnBehalfOfUser(
	CustomHttpHeaders headers,
	SecurityContext impersonator,
	string currentOwner,
	string currentUser
)

Parameters

headers
Type: CustomHttpHeaders
The headers, which are decorated.
impersonator
Type: Scanjour.Workflow4.BaseSecurityContext
The role used to determine what user that shall be used as behalf-of.
currentOwner
Type: SystemString
The user that is used, if the impersonator is Owner.
currentUser
Type: SystemString
The user that is used, if the impersonator is User
See Also

Reference