PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
Remarks:
  • 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 get the details of 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: wd260com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment