PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • Versions 16 and later
    The SaaS administrator manages all users for all the clients. Client account managers can only add users to their own client accounts.
    New in version 16
    The SaaS administrator manages all users for all the clients. Client account managers can only add users to their own client accounts.
    The SaaS administrator manages all users for all the clients. Client account managers can only add users to their own client accounts.
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 get more details on the error, use ErrorInfo.
<User>: saasUser variable
Name of 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
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