![]() |
The Novell Controls for ActiveX and Visual Basic: |
|
|
|
||
| Entries, Layouts, and Fields In the previous article I talked about the hierarchy of containers in a directory (typically, Organizations and Organizational Units). These containers may contain entries and other containers. Entries are data structures of a specific type or Layout. For example, the layout for Printer entries specifies that directory entries that represent printer objects will have fields for the name of the print queue(s) that the printer services, the name of the print server that manages the printer, and so on. The layout specifies the type of data that can be associated with a printer. An instance of a Printer object contains data pertaining to a specific printer. Each Field also has a data type, called the Field Type. There are four simple field types: There are also nine predefined structure field types, and it is possible to define new structure field types. The predefined structure field types are:
The documentation for the NWDir control (available on the Web at http://developer.novell.com) has more information about the properties of structure field types. Besides having a field type, fields can also be single-valued or multi-valued. For example, Group entries have a Member field that is a multi-valued field of type String. The Member field contains the full names of User entries that have membership in the group. |
|