ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the connection to the database of a client account for a SaaS site.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The SaaS Administrator will have access to all connections. A client account manager will only have access to the connection regarding his own client account.
Example
// Open a connection to the database of the "Jet Tames" client for the "CRM" site
ASaaSSite is saasSite
ASaaSClient is saasClient
AClientDatabase is Connection
 
ASaaSSite = SaaSAdminFindSite("CRM")
ASaaSClient = SaaSAdminFindClient("Jet Tames")
AClientDatabase = SaaSAdminClientConnection(ASaaSSite, ASaaSClient)
 
HOpenConnection(AClientDatabase)
Syntax

Retrieving the connection parameters (via saasxxx variables) Hide the details

<Result> = SaaSAdminClientConnection(<SaaS site> , <Client account>)
<Result>: Character string or Connection variable
Connection parameters to the client account database.
<SaaS site>: saasSite variable
Name of the saasSite variable corresponding to the SaaS site the connection parameters must be retrieved from.
<Client account>: saasClient variable
Name of the saasClient variable corresponding to the SaaS client account the connection parameters must be retrieved from.

Retrieving the connection parameters Hide the details

<Result> = SaaSAdminClientConnection(<Site> , <SaaS client>)
<Result>: Character string or Connection variable
Connection parameters to the client account database.
<Site>: Character string
Name of the SaaS site whose connection parameters will be retrieved.
<SaaS client>: Character string
Name of the SaaS client account whose connection parameters will be retrieved.
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help