|
Logs on the current active Venice user. |
|
|
void LogonCurrent ( BSTR bsCreatedForVenVer, BSTR bsAppName, VARIANT_BOOL bWithUserInterface ) |
|
|
Parameters | bsCreatedForVenVer | [in] The version of Venice your application is developed for and tested with. This should be a hardcoded or static value, do not dynamically determine the current Venice version to supply this value. | bsAppName | [in] The name of the client application that is using ClSdk. This name is used for display in the conflict dialog in the Venice installation. Try not to use long names/blanks/punctuation marks/... for readability in the conflict dialog! | bWithUserInterface | [in] True if you want the user to have user interface (e.g. dialogs, browses,...) , otherwise false. | | Remarks |
| This method can only be used in an application that was started from Venice (e.g. using external modules, execute command in free fields,...). |
|
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Log on to Venice using the current active user
pVenice->LogonCurrent ("13.30_", "AppName", VARIANT_TRUE);
|
|
|
C# |
|
// Log on to Venice using the current active user
oVenice.LogonCurrent ("13.30_", "AppName", true);
|
|
|
VBS |
|
' Log on to Venice using the current active user
Call oVenice.LogonCurrent("13.30_", "AppName", True)
|
|
|
VB.NET |
|
' Log on to Venice using the current active user
oVenice.LogonCurrent("13.30_", "AppName", True)
|
|