ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

The content of this page has been updated to version 2024.  See documentation 2024 now.
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 SaaS site.
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
<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 must 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.
Remarks

Restricted access to the services of a SaaS site

When a customer subscribes to a pricing, he purchases some user licenses for the services. Then, he provides this licenses to the users.
Therefore, a user may not have access to this service because his manager (administrator user) did not associate him with a license.
Business / UI classification: Business Logic
Component: wd270com.dll
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help