#[repr(C)]pub struct es_event_od_create_user_t {
pub instigator: ShouldNotBeNull<es_process_t>,
pub error_code: i32,
pub user_name: es_string_token_t,
pub node_name: es_string_token_t,
pub db_path: es_string_token_t,
}Available on macOS and crate feature
macos_14_0_0 only.Expand description
Notification that a user account was created.
This event type does not support caching (notify-only).
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.
user_name: es_string_token_tThe name of the user account that was created.
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.
Implementations§
Source§impl es_event_od_create_user_t
Accessors for ShouldNotBeNull fields
impl es_event_od_create_user_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn instigator(&self) -> &es_process_t
pub unsafe fn instigator(&self) -> &es_process_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_od_create_user_t
impl RefUnwindSafe for es_event_od_create_user_t
impl !Send for es_event_od_create_user_t
impl !Sync for es_event_od_create_user_t
impl Unpin for es_event_od_create_user_t
impl UnwindSafe for es_event_od_create_user_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more