• 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: Newbie question: get list of users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: get list of users


  • Subject: Re: Newbie question: get list of users
  • From: mw <email@hidden>
  • Date: Sun, 26 Jan 2003 17:01:08 -0500

Try looking for headers that have to do with NetInfo in /usr/include. Other
than that, I am not sure.

mw


On 1/26/03 4:18 PM, "Frank Fenn" <email@hidden> wrote:

> Hi developer,
>
> I'm relatively new to MacOS, especially Cocoa programming. I would like
> to know, how to get a list of all users
> defined to the system and whether they have administrator rights or not.
>
> Scanning the mailing list archive and I've found that there are
> different ways to do this. If I look in the Account
> preferences I can set a user as Administrator, Accounts also doesn't
> show all users compared to Netinfo or
> /etc/passwd.
>
> Is there any code example to get a list of users defined in Accounts. I
> only need users that have a directory in
> /Users.
>
> Any help is appreciated.
>
> --
>
> Regards
> Frank Fenn - Bright Light Software
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie question: get list of users
      • From: Hasan Diwan <email@hidden>
    • Re: Newbie question: get list of users
      • From: Finlay Dobbie <email@hidden>
References: 
 >Newbie question: get list of users (From: Frank Fenn <email@hidden>)

  • Prev by Date: Re: Newbie question: get list of users
  • Next by Date: Making an NSMenu "small"?
  • Previous by thread: Re: Newbie question: get list of users
  • Next by thread: Re: Newbie question: get list of users
  • Index(es):
    • Date
    • Thread