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
Deletes a SaaS subscription.
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 saasSite
P is saasPricing
C is saasClient
Sub is saasSubscription
 
S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
C = SaaSAdminFindClient("Hybrid")
 
// Find the subscription to delete
Sub = SaaSAdminFindSubscription(P, C)
 
// The Hybrid client does no longer subscribe to the Promo 2010 of Forum
SaaSAdminDeleteSubscription(Sub)
Syntax

Deleting a subscription (via saasxxx variables) Hide the details

<Result> = SaaSAdminDeleteSubscription(<Subscription>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Subscription>: saasSubscription variable
Name of the saasSubscription variable corresponding to the subscription to be removed from the SaaS database.

Deleting a subscription identified by the name of associated pricing Hide the details

<Result> = SaaSAdminDeleteSubscription(<Pricing> , <SaaS site> , <Client account>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: Character string
Name of pricing to which the client has subscribed.
<SaaS site>: Character string
Name of SaaS site that owns the pricing.
<Client account>: Character string
Name of the client account (or external reference).
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