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
Enables a service in a SaaS pricing.
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
P is dynamic saasPricing
CRMService is dynamic saasService
 
S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
CRMService = SaaSAdminFindService("CRM", S)
 
// The subscribers to the "2010 promo" pricing can now access the CRM section of Forum
SaaSAdminPricingEnableService(P, CRMService)
Syntax

Enabling a service (via saasxxx variables) Hide the details

<Result> = SaaSAdminPricingEnableService(<Pricing> , <SaaS service>)
<Result>: Boolean
  • True if the activation was successfully performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: saasPricing variable
Name of saasPricing variable corresponding to the pricing to which a service is added.
Remark: The service must have been previously created by SaaSAdminAddService.
<SaaS service>: saasService variable
Name of the saasService variable corresponding to the SaaS service that will be added to the list of services provided by the pricing.

Enabling a service identified by its name Hide the details

<Result> = SaaSAdminPricingEnableService(<Pricing> , <SaaS service> , <SaaS site>)
<Result>: Boolean
  • True if the activation was successfully performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: Character string
Name of the pricing to which a SaaS service is added.
<SaaS service>: Character string
Name of the SaaS service that will be added to the list of services provided by the pricing.
<SaaS site>: Character string
Name of SaaS site affected by the pricing and service.
Remarks
The service will be automatically made accessible to all subscribers to this pricing (and not only to new subscribers).
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