Initializing the Extension-Data Attribute

The Extension-Data attribute can be used by server applications to store custom data in the directory. This data can be manipulated through custom property pages implemented by Administrator extension DLLs. For more information, see Administrator Program Extensions.

During the setup procedure, the Extension-Data attribute must be initialized. You can use the CFGCODE utility to create a file holding default Extension-Data values. Once this extension data file is created, it can be used during application setup. When the customer runs the setup program, the file can be copied directly into the directory object's Extension-Data attribute. Its binary contents are formatted correctly for storage in the Microsoft Exchange Server directory as an attribute on the application object. For more information on CFGCODE.EXE, see CFGCODE: Generating a Packed Property Structure.

The setup program also performs this write operation using directory access function calls.