Appendix: Built-in Scripting Language Notes 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). Examples CreateUser( "Bob", "Admin", "Chocolate", "Bob Smith" ) CreateUser( "Albert", "Engineering", "EMC2", "Albert Jones" ) ExportSecuritySystem This function exports the security system configuration to an encrypted file. Syntax ExportSecuritySystem( strFileName , strPassword ) strFileName The complete file path and name where you want to save the configuration file.
strPassword The main password for the security system. This same password will be used to protect the exported file. Returned value This function returns the following possible values: Examples ExportSecuritySystem( "C:\security.txt" ) ExportSecuritySystem( "C:\security.txt", "mypa55w0rd" ) GetUserFullName This function gets the full name (if any) of a specified user in the project security system. Syntax GetUserFullName( strUserName ," tagUserFullName ") strUserName tagUserFullName The name of a user in the project security system. The name of a tag (String type) that will receive the full name of the specified user.
If the specified user does not have a full name defined, then the tag will receive an empty string ( "" ). InduSoft Web Studio Page 493 Value Description 14 The current Security Mode does not allow user to be created. Function Group Execution Windows Embedded Thin Client ExportSecurit ySSyecsutriteym Synchronous Supported Supported Supported Value Description -2 Wrong parameter type. -1 Invalid number of parameters. 0 Couldn't write security data. 1 File exported successfully. Function Group Execution Windows Embedded Thin Client GetUserFullNa meSecurity Synchronous Supported Supported Supported