PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Adds a SaaS user.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by SaaSAdminConnect.
  • Versions 16 and later
    The SaaS administrator manages all the 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 the users for all the clients. A client account manager can only add users in his own client account.
    The SaaS administrator manages all the users for all the clients. A client account manager can only add users in his own client account.
Example
// Find the client account
C is SaaSClient dynamic
C = SaaSAdminFindClient("Hybrid")

// Add a new user
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 find out the error details, use ErrorInfo.
<User>: saasUser variable
Name of saasUser variable corresponding to the description of new user.
<Client Account>: saasClient variable or character string (with quotes)
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 find out the error details, use ErrorInfo.
<Login>: Character string (with quotes)
Login of new user.
<Password>: Character string (with quotes)
Password of new user.
<Client Account>: Character string (with quotes)
Name or external reference of client account to which the user will be linked.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment