PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Properties specific to the description of saasSubscription variables
  • Functions that use the saasSubscription type
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
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 via several WLanguage properties.
Note: See Declaring a variable for more details.
Example
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)
Sub..NbLicenses++

SaaSAdminModifySubscription(Sub)
Remarks

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 available in 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 subscription by package, this property takes the value of the saasUnlimitedLicenses constant.
PricingsaasPricing variableReference toward the pricing to which the client has subscribed.
This property is available in read-only.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

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 required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment