• 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: List of users/accounts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of users/accounts


  • Subject: Re: List of users/accounts
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 15 Nov 2004 16:05:32 +0100

You can alos try :

do shell script "niutil -list . /users"

You'll have the complete list of the users available on the machine, including System accounts.

++ JB


---------- Initial Header -----------

From      : applescript-users-bounces+jb.lestang=email@hidden
To          : Applescript <email@hidden>
Cc          :
Date      : Mon, 15 Nov 2004 07:38:55 -0700
Subject : Re: List of users/accounts

Entity Steve Suranie spoke thus:

> Is there a way to get a list of the accounts in the system preferences?


set theList to do shell script "ls -1 /Users/ | awk '{ if ( $1 !=\"Shared\")
print }'"
set userList to every paragraph of theList


-- Gnarlie


************************ ADSL ILLIMITE TISCALI + TELEPHONE GRATUIT ************************
Surfez 40 fois plus vite pour 30EUR/mois seulement !  Et téléphonez partout en France gratuitement,
vers les postes fixes (hors numéros spéciaux). Tarifs très avantageux vers les mobiles et l'international !
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl  (voir conditions sur le site)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: List of users/accounts
      • From: John Fieber <email@hidden>
  • Prev by Date: RE: Launching Remote Applications
  • Next by Date: Re: computing 20! all the way
  • Previous by thread: Re: List of users/accounts
  • Next by thread: Re: List of users/accounts
  • Index(es):
    • Date
    • Thread