ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
  • Properties specific to saasUser variables
  • Functions that use the saasUser type
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
The saasUser type is used to define the advanced characteristics of a user of SaaS site.
The characteristics of this user can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
NewUser is saasUser
NewUser.Login = "mark@jet-tames.com"
NewUser.Password = "secret"
 
ClientAccount is saasClient = SaaSAdminFindClient("JetTames")
 
SaaSAdminAddUser(NewUser, ClientAccount)
Remarks

Properties specific to saasUser variables

The following properties can be used to handle a SaaS user:
NameType usedEffect
AdministratorRightsBoolean
  • True if the user is an "Administrator" user,
  • False otherwise.
Administrators can use the SaaS administrator site or equivalent applications to assign licenses to the users of the SaaS Client Account to which they belong.
ClientsaasClient variableReference toward the client to which the user is linked.
This property is read-only.
EmailCharacter stringEmail address of the user.
This email address is used to send the security code (SaaSSendSecurityCode). If this property is not filled, the email is sent to the login (if the login corresponds to a valid email address).
FirstNameCharacter stringUser's first name.
LoginCharacter stringUsername.
This login must be unique (between the different client accounts) in the SaaS database.
To do so, you have the ability to use email addresses for example.
Name Character stringUser's last name.
PasswordCharacter stringPassword used to connect to the SaaS sites.
PasswordToEnterBoolean
  • True if the user must type a new password,
  • False otherwise.
This property is used to manage a lifespan for the passwords.

Functions that use the saasUser type

SaaSAdminAddUserAdds a SaaS user.
SaaSAdminDeleteUserDeletes a SaaS user.
SaaSAdminFindUserFinds a user of a SaaS client account.
SaaSAdminListServiceLists the SaaS services associated with a SaaS site, a pricing or a user.
SaaSAdminModifyUserModifies a SaaS user.
SaaSAdminSubscriptionAllocateLicenseAssigns a subscriber license to a SaaS user.
SaaSAdminSubscriptionDeallocateLicenseCancels a subscription license for a SaaS user.
SaaSConnectedUserReturns the user currently connected via SaaSConnect.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help