Attributes (attributeSchema Objects)
Just as class information is stored in Active Directory as instances of the class called classSchema, attributes are represented by instances of the class called attributeSchema. As with all objects, the attributeSchema class has a number of attributes that can be set when specifying a new instance. The attributeSchema class inherits attributes from the class called top. However, most of the top attributes are not really relevant here. Table 4-1 shows the defining attributes of an instance of the attributeSchema class (i.e., an attribute) that can be set.
Table 4-1. The defining attributes of an attributeSchema object instance
|
Attribute |
Syntax |
Mandatory |
Multivalued |
Description |
|---|---|---|---|---|
|
|
Integer |
No |
No |
Used by the system. |
|
|
OID |
Yes |
No |
The OID that uniquely identifies this attribute. |
|
|
GUID |
No |
No |
GUID used to tie an attribute to a property set. |
|
|
OID |
Yes |
No |
Half of a pair of properties that define the syntax of an attribute. This one is an OID. |
|
|
Unicode string |
No |
No |
The name displayed when viewing instances of the attribute. |
|
|
Unicode string |
Yes |
No |
The Relative Distinguished Name (RDN). |
|
|
Boolean |
No |
No |
Whether the object is to be hidden or displayed within tools by default. |
|
|
Unicode string |
No |
No |
A description of the attribute. |
|
|
Boolean |
No |
No |
Whether extended ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access