https://github.com/osquery/osquery logo
#fleet
Title
# fleet
o

Ojas

02/06/2023, 7:30 AM
hey Team, i am trying to build a query to fetch the loggin profiles/accounts on the hosts so for mac can i get some help how to fetch the loggin apple id?
k

Kathy Satterlee

02/06/2023, 4:32 PM
Here you go:
Copy code
SELECT key, subkey, value FROM plist WHERE path LIKE '/Users/%%/Library/Preferences/MobileMeAccounts.plist' AND subkey like 'AccountDescription';