#[repr(C)]pub struct es_event_od_attribute_value_remove_t {
pub instigator: ShouldNotBeNull<es_process_t>,
pub error_code: i32,
pub record_type: es_od_record_type_t,
pub record_name: es_string_token_t,
pub attribute_name: es_string_token_t,
pub attribute_value: es_string_token_t,
pub node_name: es_string_token_t,
pub db_path: es_string_token_t,
}macos_14_0_0 only.Expand description
Notification that an attribute value was removed to a record.
This event type does not support caching (notify-only).
Attributes conceptually have the type Map String (Set String).
Each OD record has a Map of attribute name to Set of attribute value.
When an attribute value is removed, it is inserted into the set of values for that name.
Removing a value that was never added is a no-op.
Fields§
§instigator: ShouldNotBeNull<es_process_t>Process that instigated operation (XPC caller).
error_code: i32Result code for the operation.
Values indicating specific failure reasons are defined in odconstants.h.
record_type: es_od_record_type_tThe type of the record to which the attribute value was removed.
record_name: es_string_token_tThe name of the record to which the attribute value was removed.
attribute_name: es_string_token_tThe name of the attribute to which the value was removed.
attribute_value: es_string_token_tThe value that was removed.
node_name: es_string_token_tOD node being mutated.
Typically one of “/Local/Default”, “/LDAPv3/
db_path: es_string_token_tOptional. If node_name is “/Local/Default”, this is, the path of the database against which OD is authenticating.