I wonder if there's any equivalent terminal command that can output the same data displayed when the I search for the domain user Under Users in the OD node (/Active Directory/MYCOMP/...
)
the data is a dictionary with fields like AltSecurityIdentities, dsAttrTypeNative:.. , and more.
I'm looking for macOS(10.12+) native, command line tool, that can extract an input user AD details that contains fields like AuthenticationAuthority
and AltSecurityIdentities
quite similar to Diretory Utility Gui based application (/System/Library/CoreServices/Applications/Directory Utility.app
).
Is it possible to script user lookups?