Call us! 512-349-0334 or (877) INDUSOFT

Create a User Identity for More Secure InduSoft Web Studio HMI Applications

One way to make your InduSoft Web Studio application more secure is to create users within the security settings. This will enable you to make certain that you can log which user takes which actions, or restrict information or access to the application based on user level.

Creating identified users is only one step in creating a secure HMI application, but it’s an important one. Once you know who your users will be, and how they’ll interact with the HMI application, it’s a good time to discuss how you’d like to use user credentials to secure access to the machine and to the data collected.

Here is some information on how to create users in InduSoft Web Studio:


This function creates a new user in the project security system.

Function Group Execution Windows Embedded Thin Client
CreateUser Security Synchronous Supported Supported Supported



The name of the user to be created.


The name of the group to which the user will belong.


The user’s password.


The full name of the user.

Returned value

This function returns the following possible values:

Value Description
-1 Internal error; contact Technical Support.
0 New user created successfully.
1 Invalid number of parameters.
2 Wrong parameter type.
3 User name already exists.
4 Group does not exist.
5 Failed to save to configuration file.
6 Invalid user.
7 User full name already exists.
8 Reentrant function call not allowed.
9 User clicked Cancel button when using the standard Create User dialog.
10 Invalid password, check the minimum password size specified for the group.
11 Invalid group. (Group may not have Runtime group option selected.)
12 Would open dialog.
13 User currently logged on does not have the rights to create user (i.e., user does not have Edit Security System).
14 The current Security Mode does not allow user to be created.


Users created with this function are not shown in the project’s Security folder because they are stored in a secondary database. To manage this database, use the ExtUser.exe program (located in the Bin sub-folder of the application folder).


CreateUser( “Bob”, “Admin”, “Chocolate”, “Bob Smith” )

CreateUser( “Albert”, “Engineering”, “EMC2”, “Albert Jones” )

Comments are closed.