PreviousNext

Attaching Attribute Instances to Objects

You can attach attributes to object when you create the objects with the dcecp principal -attribute operation, or you can attach attributes to existing objects with the dcecp modify -add operation.

For example, to create the principal delores and at the same time attach the MVSname attribute with a value of admin, use the following principal create command:

dcecp> principal create delores -attribute {MVSname admin}
dcecp>

To attach the MVSname attribute with a value of admin to the principal named delores, use the following principal modify command:

dcecp> principal modify delores -add {MVSname admin}
dcecp>

To add instances of a multivalued extended attribute, include each value, separated by a space after the attribute name. For example, to attach the multi_name attribute with values of value1, value2, value3, and value4 to the principal named delores, use the following command:

dcecp> principal modify delores -add {multi_name value1 value2 \
value3 value4}
dcecp>