Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Properties specific to saasSubscription variables
  • Functions that use the saasSubscription type
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The saasSubscription type is used to define the advanced characteristics regarding the subscription of a SaaS client account to a pricing.
The characteristics of this subscription can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MySite is saasSite
MySite = SaaSAdminFindSite("Managing cars")
Pricing is saasPricing
Pricing = SaaSAdminFindPricing("Premium Offer", MySite)
User is saasUser
User = SaaSAdminFindUser("")
SaaSAdminAddSubscription(Pricing, User.Client, 1)
Sub is saasSubscription
Sub = SaaSAdminFindSubscription(Pricing, User.Client)

Properties specific to saasSubscription variables

The following properties can be used to handle the subscription of a SaaS client account to a pricing:
NameType usedEffect
ClientsaasClient variableClient who took the subscription.
This property is read-only.
EndDateCharacter string
or DateTime variable
of Character String constant
End date of the subscription.
For a subscription without end date, this property corresponds to the saasUnlimitedDuration constant.
NbLicensesInteger or Integer constantNumber of licenses bought by this subscription.
For a flat rate pricing, this property takes the value of the saasUnlimitedLicenses constant.
PricingsaasPricing variableReference toward the pricing to which the client has subscribed.
This property is read-only.
StartDateString or DateTime variableStart date of the subscription.
This property is used to calculate the cost.

Functions that use the saasSubscription type

SaaSAdminAddSubscriptionAdds a subscription to a pricing of a SaaS site for a client account.
SaaSAdminDeleteSubscriptionDeletes a SaaS subscription.
SaaSAdminFindSubscriptionFinds a SaaS subscription.
SaaSAdminModifySubscriptionModifies a SaaS subscription.
SaaSAdminSubscriptionAllocateLicenseAssigns a subscriber license to a SaaS user.
SaaSAdminSubscriptionDeallocateLicenseCancels a subscription license for a SaaS user.
Minimum version required
  • Version 15
This page is also available for…
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help