|
|
|
|
SaaSAdminSubscriptionDeallocateLicense (Function) In french: SaaSAdminDésactiveLicence Cancels a subscription license for a SaaS user. Remarks: - To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
- The SaaS Administrator will have access to all licenses. A client account manager will only have access to the licenses of his users.
S is dynamic saasSite P is dynamic saasPricing C is saasClient dynamic Sub is saasSubscription dynamic U is saasUser dynamic  S = SaaSAdminFindSite("Forum") P = SaaSAdminFindPricing("Promo 2010", S) C = SaaSAdminFindClient("Hybrid") Sub = SaaSAdminFindSubscription(P, C) U = SaaSAdminFindUser("mark@hybrid.com")  // The usernamed Mark is no longer allowed to benefit from the promotion 2010 SaaSAdminSubscriptionDeallocateLicense(Sub, U)
Syntax
Removing a license by using the subscription Hide the details
<Result> = SaaSAdminSubscriptionDeallocateLicense(<Subscription> , <User>)
<Result>: Boolean - True if the operation 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 that must be modified in the SaaS database. <User>: saasUser variable Name of saasUser variable identifying the user from whom the license will be removed. This user cannot use the subscription anymore.
Removing a license by using the pricing Hide the details
<Result> = SaaSAdminSubscriptionDeallocateLicense(<Pricing> , <SaaSÂ site> , <User>)
<Result>: Boolean - True if the operation was performed,
- False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: Character string Name of relevant pricing.A subscription linked to this pricing must exist for the user client account. <SaaS site>: Character string Name of site that owns the pricing. <User>: Character string Login of user from whom the license will be removed. This user cannot use the subscription anymore.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|