CommonDatabaseFunctionsGetUsernameFromOData Method

Scanjour Workflow4 Reference Manual
Get the current user name in the Users register from OData.

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

public static string GetUsernameFromOData(
	Uri oDataUri,
	ICredentials credentials = null
)

Parameters

oDataUri
Type: SystemUri
The OData Uri.
credentials (Optional)
Type: System.NetICredentials
The credentials to find current user fron

Return Value

Type: String
The user name.
See Also

Reference