I wrote a program to receive the notify events from endpoint security framework. While logging into the workstation it generates ES_EVENT_TYPE_NOTIFY_LW_SESSION_LOGIN event. How to get the user id and other user info from this event.
Getting user data from lw_session_login event.
The ES_EVENT_TYPE_NOTIFY_LW_SESSION_LOGIN
event type is associated with the lw_session_login
member of the es_events_t
union. It has a type of es_event_lw_session_login_t
, which is a struct with a username
member.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"