<< Click to Display Table of Contents >>
CreateUser |
CreateUser(Name, Type, IsAdmin, [FullName], [Password])
Creates a new user. The parameters of this method are the following:
•Name: Name of the user to create
•Type: Type of the user to create. Possible values for this parameter are 0: E3 user or 1: Windows user
•IsAdmin: Indicates whether this user is an administrator or not
•FullName: Full name of this user. This parameter is optional if the Type parameter is equal to 1 (one, Windows user) and mandatory if the Type parameter is equal to 0 (zero, E3 user)
•Password: Password of this user. This parameter is optional if the Type parameter is equal to 1 (one, Windows user) and mandatory if the Type parameter is equal to 0 (zero, E3 user)
NOTES |
•Access to this method is only allowed to users with permission to configure users and groups. If the IsAdmin parameter is equal to True and there is already at least one administrator configured, access to this method is only allowed to administrators. For more information, please check topic Security - Users on Elipse Water User's Manual. •This method only works if there is already an administrator user in the application and, in case of using it to create another administrator user, an administrator user must be logged in. |