Checks the access rights of the user to a service of SaaS site.
IF SaaSConnect("login", "password") = True THEN
IF SaaSCheckService("CRM") = False THEN
Info("You are not allowed to use the CRM service")
<Result> = SaaSCheckService([<SaaS service>])
- 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.
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