Re: Scripting Apple Directory
Re: Scripting Apple Directory
- Subject: Re: Scripting Apple Directory
- From: Axel Luttgens <email@hidden>
- Date: Wed, 21 Oct 2015 12:37:19 +0200
> Le 21 oct. 2015 à 02:07, Jon Rosen a écrit :
>
> Is there anyone on this list who knows something about scripting Apple Directory? I haven’t been able to find any examples of how to search for pieces of user account information.
Hello Jon,
Assuming you’re speaking about Open Directory, this is quite a broad theme, and the reply to your question depends on the kind of information you’re interested in.
For example, System Events is able to list regular users and to provide some basic info about those users:
tell application "System Events"
users —- get a list of users
properties of user "jrosen" —- assuming user wih short name "jrosen"
end tell
But perhaps are you looking for something else?
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden