Re: Creating an admin account
Re: Creating an admin account
- Subject: Re: Creating an admin account
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 17 Mar 2005 22:32:30 +0000
On Thu, 17 Mar 2005 13:55:17 -0800, Ben Borofka <email@hidden> wrote:
> I am writing a program that creates an administrator account in the
> netinfo domain with a random password I generate. I have no idea where
> to begin on how to create the account. Is niutil the only way to go?
> There doesn't seem to be any Cocoa APIs to do this. Does anyone have
> experience doing this or know of some good samples out there?
The reccommended API for doing this is Directory Services (AKA Open
Directory). There's documentation and an SDK, but it's a bit
horrendous.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden