PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SaaSCheckService (Function)
In French: SaaSVérifieService
Checks the access rights of the user to a service of the 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 more details about the error.
<SaaS Service>: Optional character string (with quotes)
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.
Components
WEBDEV - Server code wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 15
Comments
Click [Add] to post a comment