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
Lists the SaaS services associated with a SaaS site, a pricing or a 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 services. A manager of client accounts will have access to the services of sites for which he has a subscription.
Example
// Number of services for the CRM site
CRMSite is saasSite
arrSvc is array of saasSite
 
CRMSite.Name = "CRM"
arrSvc = SaaSAdminListService(CRMSite)
 
Trace("The CRM site includes " + arrSvc.Count + " services")
Syntax

Finding out the services of a SaaS site Hide the details

<Result> = SaaSAdminListService(<SaaS site>)
<Result>: Array of saasService variables
List of services proposed by the site.
<SaaS site>: saasSite variable or character string
SaaS site for which the services will be sought:
  • Name of the saasSite variable corresponding to the site.
  • String corresponding to the name of the SaaS site.

Finding out the services proposed by a SaaS pricing Hide the details

<Result> = SaaSAdminListService(<Pricing>)
<Result>: Array of saasService variables
List of services accessible by the pricing.
<Pricing>: saasPricing variable
Name of the saasPricing variable corresponding to the SaaS pricing for which the services will be sought.

Finding out the services of a SaaS site proposed by a SaaS pricing Hide the details

<Result> = SaaSAdminListService(<Pricing> , <SaaS site>)
<Result>: Array of saasService variables
List of services accessible by the pricing for the requested site.
<Pricing>: Character string
Name of SaaS pricing for which the services will be listed.
<SaaS site>: Character string
Name of SaaS site for which the services will be listed.
Remark: The pricing must belong to the site.

Finding out the services of a SaaS site to which a user has subscribed Hide the details

<Result> = SaaSAdminListService(<SaaS user> [, <SaaS site> [, <With Duplicates>]])
<Result>: Array of saasService variables
List of services proposed for the user.
<SaaS user>: saasUser variable
Name of saasUser variable corresponding to the SaaS user for which the services will be sought.
<SaaS site>: Optional saasSite variable or character string
SaaS site for which the services will be sought:
  • Name of the saasSite variable corresponding to the site.
  • String corresponding to the name of the SaaS site.
If this parameter is not specified, the services are sought for all sites.
<With Duplicates>: Optional boolean
  • True (default value) if the result can contain duplicates,
  • False to remove duplicates from the result.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/15/2022

Send a report | Local help