ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / SaaS functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a SaaS user.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The SaaS administrator manages all users for all the clients. Client account managers can only add users to their own client accounts.
Example
// Recherche du compte client
C is saasClient dynamic 
C = SaaSAdminFindClient("Hybrid")

// Ajout d'un nouvel utilisateur
SAM is saasUser 
SAM.Login = "sam@hybrid.com"
SAM.Password = "secret"
SaaSAdminAddUser(SAM, C)
Syntax

Adding a user (via saasxxx variables) Hide the details

<Result> = SaaSAdminAddUser(<User> , <Client account>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<User>: saasUser variable
Name of the saasUser variable corresponding to the description of new user.
<Client account>: saasClient variable or character string
Client account to which the user will be attached.
If this parameter is a character string, it can represent the name or the ExternalReference property of the client account.

Adding a user identified by its name Hide the details

<Result> = SaaSAdminAddUser(<Username> , <Password> , <Client account>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Username>: Character string
New username.
<Password>: Character string or Secret string
Password of new user.
New in version 2025
Secret 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.
<Client account>: Character string
Name or external reference of client account to which the user will be linked.
Component: wd300com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/16/2025

Send a report | Local help