ODataServiceProviderGetODataContext Method (Uri, SecurityContext)

Scanjour Workflow4 Reference Manual
Creates an ODataService from an URI and with the options of impersonating the authentication as current user (default) or system.

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 GetODataContext(
	Uri oDataUri,
	SecurityContext securityContext
)

Parameters

oDataUri
Type: SystemUri
OData service endpoint.
securityContext
Type: Scanjour.Workflow4.BaseSecurityContext
Security context of OData session. Only System and User are supported.

Return Value

Type: ODataService
The OData service.
See Also

Reference