Click or drag to resize

MPInterfacebInitInterfaceFromRestService Method

Note: This API is now obsolete.

Internal function. This function is used by the MARINGO REST Service to access the MARI Interface functionality

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
[ObsoleteAttribute("Internal Function only")]
public bool bInitInterfaceFromRestService(
	NameValueCollection oWebconfig,
	string UserName,
	string Password,
	ref bool bLoginAsMonitorUserOnly,
	ref string sRoleByRef,
	ref string sRoleEMail
)

Parameters

oWebconfig
Type: System.Collections.SpecializedNameValueCollection
values from web.config
UserName
Type: SystemString
MARIProject User to login to the first database. Can be also the signed XML License file(content)
Password
Type: SystemString
bLoginAsMonitorUserOnly
Type: SystemBoolean
true, wenn UserName=LicenseKey
sRoleByRef
Type: SystemString
Rights to the REST Services "Admin", "MonitorOnly"
sRoleEMail
Type: SystemString
Info for the logging in the rest service

Return Value

Type: Boolean
Remarks