User library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language > Embedded functions >

User library

Previous pageReturn to chapter overviewNext page

adduser(Input1, Input2, Input3, Input4, Input5) -  used to add User to the project. Input1 contains name of the user. Input2 contains password of the user. Input3 contains priority of the user. Input4 contains access level of the use. Input5 contains other (boolean) user properties. Input5 represented in Integer format, every bit of which is bound to property:

0 - Control functions.

1 - Acknowledge events.

2 - Delete events.

3 - Insert events.

4 - Insert history.

5 - Settings.

6 - Edit recipes.

7 - Save control operations.

8 - Can close.

9 - Can stop.

 

Example:

adduser("Operator", "111", 950, 200, 1023);

 


removeuser(Input1) - used to remove user from the project.

 

Example:

removuser("Operator");