Re: netinfo header files on Panther
Re: netinfo header files on Panther
- Subject: Re: netinfo header files on Panther
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 15 Jul 2005 20:20:00 +0100
On 7/15/05, Chris Vitale <email@hidden> wrote:
> Hello,
>
> I need to find all users and UIDs on a local system from a daemon. I'd
> like to use the netinfo API (rather than command line tools) but I can't
> locate netinfo/ni.h on my local machine or in an SDK on the apple site.
> What am I missing?
The NetInfo API is deprecated and not supported. Don't use it.
The recommended replacement is the Open Directory (né Directory Services) API.
If all you need is to get a list of the users and UIDs, then you can
probably get away with just using getpwent().
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden