Home | Sign in | English EN

  • Properties specific to the description of 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 modified 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("mark@jet-tames.com")
SaaSAdminAddSubscription(Pricing, User.Client, 1)
Sub is saasSubscription
Sub = SaaSAdminFindSubscription(Pricing, User.Client)

Properties specific to the description of 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.
StartDateString or DateTime variableStart date of subscription.
This property is used to calculate the cost.
EndDateCharacter string
or DateTime variable
of Character String constant
End date of 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.

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