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.1.0.0 (23.1.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: ODataServiceThe OData service.
See Also