Administering Multivalued Attributes
Microsoft® Windows® 2000 Scripting Guide
The scripts earlier in this chapter, including the procedures in "Performing Multiple Scripting Tasks," demonstrated how to read and write single-valued attributes. However, single-valued attributes cannot hold multiple records that are required for storing certain types of information. Multivalued attributes accommodate list type information. The attribute that contains a list of bridgehead servers configured in a domain, the attribute that contains a list of members in a group, and the attribute that contains a list of secondary telephone numbers for a user account are all examples of multivalued attributes.
For information about how to determine whether an attribute is single-valued or multivalued, see "Active Directory Architecture" later in this chapter.
Modifying and reading a multivalued attribute is similar to modifying and reading a single-valued attribute: the script binds to an object, uses a method to perform the modify or read task on an attribute, and, for the modify task, uses the SetInfo method to commit the change to Active Directory.