WorkflowHostExtensionDecorateOnBehalfOfUser Method

Decorates the headers provided with the OnBehalfOfUser property according to the impersonator provided.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static void DecorateOnBehalfOfUser(
	CustomHttpHeaders headers,
	SecurityContext impersonator,
	string currentOwner,
	string currentUser
)

Parameters

headers  CustomHttpHeaders
The headers, which are decorated.
impersonator  SecurityContext
The role used to determine what user that shall be used as behalf-of.
currentOwner  String
The user that is used, if the impersonator is Owner.
currentUser  String
The user that is used, if the impersonator is User

See Also