PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Enables a service in a SaaS pricing.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by SaaSAdminConnect.
  • Versions 16 and later
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    New in version 16
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
S is SaaSSite dynamic
P is SaaSPricing dynamic
CRMService is SaaSService dynamic

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 successful,
  • False otherwise. To find out the error details, use ErrorInfo.
<Pricing>: saasPricing variable
Name of saasPricing variable corresponding to the pricing to which a service is added.
Note: The service must have been previously created by SaaSAdminAddService.
<SaaS Service>: saasService variable
Name of saasService variable corresponding to the SaaS service that will be added to the list of services supplied 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 successful,
  • False otherwise. To find out the error details, use ErrorInfo.
<Pricing>: Character string (with quotes)
Name of pricing to which a SaaS service is added.
<SaaS Service>: Character string (with quotes)
Name of SaaS service that will be added to the list of services supplied by the pricing.
<SaaS Site>: Character string (with quotes)
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).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment