PreviousNext

The sec_rgy_attr_sch_update_entry( ) Call

The sec_rgy_attr_sch_update_entry( ) call updates a schema entry that defines an attribute type.

The schema entry components that can be modified are controlled by the ERA API and the modify_parts parameter of the sec_rgy_attr_sch_update_entry( ) call.

To ensure that registry and access control data remains consistent, the ERA API allows only the following schema entry components to be modified:

· Attribute name

· Reserved flag

· Apply defaults flag

· Intercell action flag

· Trigger binding

· Comment

Note that ACL managers can be added to a schema entry's ACL manager set, but they cannot be modified or deleted.

To modify any other schema entry fields implies a drastic change to the attribute type. If this change must be made, the schema entry must be deleted (which deletes all attribute instances of that type) and then recreated.

The modify_parts parameter of the sec_rgy_attr_sch_update_entry( ) call can also be used to prohibit modification of additional schema entry fields. This parameter, which is actually a sec_attr_schema_entry_parts_t data type, lists the fields that can be modified by the call. Only those fields listed in sec_attr_schema_entry_parts_t can be modified.

The new values used to update the attribute type are supplied in a sec_attr_schema_entry_t data type.