ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Restricted access to the services of a SaaS site
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
SaaSCheckService (Function)
In french: SaaSVérifieService
Checks the access rights of the user to a service of the SaaS site.
New in version 2024
WINDEVWindows This function is now available for WINDEV applications in Windows.
Example
IF SaaSConnect("login", "password") = True THEN
IF SaaSCheckService("CRM") = False THEN
Info("You are not allowed to use the CRM service")
END
END
Syntax

Checking access rights to a SaaS service Hide the details

<Result> = SaaSCheckService([<SaaS service>])
<Result>: Boolean
  • True if the user is allowed to use the specified service,
  • False otherwise (or if no user is connected). ErrorInfo returns the details of the error.
<SaaS service>: Optional character string
Name of the SaaS service for which the rights are to be checked. This name was defined in the interface for SaaS management.
If this parameter is not specified, the function returns True if the user is allowed to use at least one service of the SaaS site.

Checking access rights to a set of SaaS services Hide the details

<Result> = SaaSCheckService(<Names of the SaaS services>)
<Result>: Array
Array of Boolean variables that indicates if the specified service is available to the user:
  • True if the user is allowed to use the specified service,
  • False otherwise (or if no user is connected). ErrorInfo returns the details of the error.
<Names of the SaaS services>: Array
Name of the array containing the names of the different SaaS services for which the rights are to be checked. These names are defined in the SaaS administration interface.
Remarks

Restricted access to the services of a SaaS site

When clients subscribe to a given plan, they acquire licenses to use a service. Then, they provide these licenses to the end users.
Therefore, some users may not have access to a service because the administrator has not activated their license.
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: 12/13/2023

Send a report | Local help