CommonDatabaseFunctionsGetActualImpersonator Method

Scanjour Workflow4 Reference Manual
Resolves the SecurityContext in case a user is a department

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

public static SecurityContext GetActualImpersonator(
	Uri oDataUri,
	SecurityContext impersonator,
	string user
)

Parameters

oDataUri
Type: SystemUri
The OData uri.
impersonator
Type: Scanjour.Workflow4.BaseSecurityContext
Current Security context.
user
Type: SystemString
The user name of the impersonator.

Return Value

Type: SecurityContext
Resulting SecurityContext.
See Also

Reference