PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Adds a SaaS user.
Remarks:
  • The use of this function requires to have opened a SaaS administration session beforehand using the SaaSAdminConnect function.
  • Versions 16 and later
    The SaaS administrator manages all users for all the clients. A client account manager can only add users in his own client account.
    New in version 16
    The SaaS administrator manages all users for all the clients. A client account manager can only add users in his own client account.
    The SaaS administrator manages all users for all the clients. A client account manager can only add users in his own client account.
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 the details of the error, use ErrorInfo.
<User>: saasUser variable
Name of saasUser variable corresponding to the description of new user.
<Client account>: Variable of type saasClient or 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 client account.

Adding a user identified by its name Hide the details

<Result> = SaaSAdminAddUser(<Login> , <Password> , <Client account>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Login>: Character string
Login of new user.
<Password>: Character string
Password of new user.
<Client account>: Character string
Name or external reference of client account to which the user will be linked.
Component: wd270com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment