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
Adds a subscription to a pricing of a SaaS site for a client account.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by SaaSAdminConnect.
  • Versions 16 and later
    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.
    New in version 16
    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.
    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 SaaSSite dynamic
P is SaaSPricing dynamic
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 find out the error details, 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.
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