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
Adds a subscription to a pricing of a SaaS site for a client account.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The SaaS administrator manages all subscriptions. A manager of client accounts can add to his own account a new subscription to a site to which he is already subscribing.
Example
S is dynamic saasSite
P is dynamic saasPricing
C is saasClient dynamic
 
S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
C = SaaSAdminFindClient("Hybrid")
 
Sub is saasSubscription
Sub.NbLicenses = 5
 
// Subscribe the "Hybrid" client to the "Promo 2010" pricing of the "Forum" site
SaaSAdminAddSubscription(Sub, P, C)
Syntax
<Result> = SaaSAdminAddSubscription(<New Subscription> , <Pricing> , <Client account>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<New Subscription>: saasSubscription variable
Name of saasSubscription variable containing the description of subscription to add.
<Pricing>: saasPricing variable
Name of saasPricing variable corresponding to the pricing to which the subscription is attached.
<Client account>: saasClient variable
Name of saasClient variable corresponding to the client account to subscribe.
Remarks
Adding a new subscription to a pricing for a client can only be done if there is no current subscription for this pricing and for this client.
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