CommonDatabaseFunctionsGetODataServiceForUser Method

Scanjour Workflow4 Reference Manual
Gets odata service context for an impersonated user

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

public static ODataService GetODataServiceForUser(
	Uri oDataUri,
	string impersonateUser
)

Parameters

oDataUri
Type: SystemUri
The endpoint of the OData Service.
impersonateUser
Type: SystemString
User to impersonate

Return Value

Type: ODataService
Odata service context
See Also

Reference