• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Apple Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Scripting Apple Directory (From: Jon Rosen <email@hidden>)

  • Prev by Date: Re: Jhead in Applescript?
  • Next by Date: Re: Scripting Apple Directory
  • Previous by thread: Scripting Apple Directory
  • Next by thread: Re: Scripting Apple Directory
  • Index(es):
    • Date
    • Thread