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
Creates 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 use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
S is dynamic saasSite
C is saasClient dynamic
 
S = SaaSAdminFindSite("Forum")
C = SaaSAdminFindClient("Hybrid")
 
IF SaaSAdminCreateClientDatabase(S, C) = False THEN
IF SaaSAdminCreateClientDatabase(S, C, False) = False THEN
Error("Unable to create the client database.")
ELSE
Info("The database was created empty.")
END
ELSE
Info("The database was created from the reference database.")
END
Syntax
<Result> = SaaSAdminCreateClientDatabase(<SaaS site> , <Client account> [, <Empty database>])
<Result>: Boolean
  • True if the client database was created,
  • False otherwise. To get more details on the error, use ErrorInfo.
<SaaS site>: saasSite variable or character string
Name of the saasSite variable (or site name) that corresponds to the SaaS site for which the database must be created.
<Client account>: saasClient variable or character string
Name of the saasClient variable or name of the SaaS client account for which the database must be created.
If this parameter is a character string, it can represent the name or the ExternalReference property of the client account.
<Empty database>: Optional boolean
  • False (default value), the reference database will be copied to create the new database.
  • True, the reference database defined for the site will be ignored and an empty database will be created.
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