|
|
|
|
|
- Security of the connection
- Special cases
SaaSAdminConnect (Function) In french: SaaSAdminConnecte Connects and authenticates the administrator of the SaaS web service. Note: The SaaSAdminConnect function is reserved for: - the SaaS administrator (a single administrator, whose login is "admin": this name is reserved).
- the account managers (at least 1 for each client account)
These two types of administrator can be connected simultaneously: - The SaaS administrator is an administrator.
- The account managers are users with more rights (on the client accounts and their users only).
IF SaaSAdminConnect("admin", "secret") = False THEN
Error("Vous n'êtes pas autorisé à vous connecter en tant qu'administrateur" + ...
CR + ErrorInfo(errFullDetails))
END
IF SaaSAdminConnect("admin", "monmotdepasse", ...
"http://www.mondomaine_ou_ip.com/WDSAAS260_WEB/awws/WDSaaS260.awws") = False THEN
Error("Vous n'êtes pas autorisé à vous connecter en tant qu'administrateur" + ...
CR + ErrorInfo(errFullDetails))
END
Syntax
<Result> = SaaSAdminConnect(<User> , <Password> [, <Address of SaaS web service> [, <Required level>]])
<Result>: Boolean - True if the connection was established,
- False otherwise. To get more details on the error, use ErrorInfo.
<User>: Character string Administrator username of the SaaS system.Remark: In this version, the administrator account is always "admin". <Password>: Character string or Secret string Password of the administrator of the SaaS system.The default password is "admin". We strongly recommend that you modify the password of the administrator at the end of setup. New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. <Address of SaaS web service>: Optional character string - Name of the server (name or IP address),
- Full address of the SaaS web service.
If this parameter is not specified, the web service of the local computer is used.
<Required level>: Optional constant or combination of Integer type optional constants Required level for connecting: | | saasAccountManager | Level required: Account manager. | saasAdministrator (default value) | Level required: Administrator. | These two constants can be combined. Remarks Security of the connection For a secured operating mode, we recommend that you use the HTTPS protocol. The server must be configured to accept this protocol and the SSL certificate used must not trigger any security warning. To increase the security of the SaaS site, the web service can be installed on a computer that is not accessible publicly but only from the Application Server that hosts the SaaS site. Therefore, the requests made to the web service cannot be intercepted. Special cases - To use the SaaSAdminxxx functions, a connection must have been successfully established by SaaSAdminConnect.
- To end a management session, all you have to do is use SaaSAdminDisconnect.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|