You can create additional fields for the User object which are used in the Access Manager Module (see Working with users in the Access Manager software module).
Additional fields are created using the text editor that allows you to view and edit the ASCII text encoding.
To create additional fields for the User object, do the following:
Open the created .dbi file in the text editor.
Before you enter any data, make sure that the UTF-8 text encoding is selected. Otherwise, when adding additional fields to the database, the text will be recognized incorrectly. |
Specify the field description after a double slash "//": enter the field name that will be displayed in the Access Manager interface window, and set the field behavior pattern. In general, the description of the field is as follows: "Type {TC% value1 | valueN}", where:
Name | Description |
---|---|
Type | The field name displayed in the Access Manager interface window. |
{ | Beginning of the field behavior pattern |
T | The field will be editable, the entered value will be saved. |
C | The field will be a drop-down list. |
% | The predefined field value names are listed after the % sign. Note. If you specify %EMPTY, there will be no predefined values. |
value1, valueN | The predefined field value names |
| | Separation of the predefined field values |
UTS%0 | The field will be editable with a unique value. If the user tries to enter a value which is already specified by other User, the warning will be displayed saying that the user with ID = "" already specified this value |
} | End of the field behavior pattern |
After you create the additional fields, save the changes.
After you save the .dbi file, it is necessary to update the main database. To do this, use the idb.exe utility (see The idb.exe utility for converting databases, selecting database templates and making backup copies of databases). |
As a result, the created fields will be available on the settings panel of the Access Manager object on the Additional fields tab (see Configuring Main department type).
Depending on the visibility and accessibility for editing the fields, as well as the specified category, the corresponding additional fields will be displayed in the Access Manager interface window.
Creating additional fields for the User object is complete.