On Mar 10, 2008, at 11:00 PM, Mac QA wrote:
I am seeking the nice clean Cocoa way of getting a list of user
accounts on the local system. Ultimately in the form of an NSArray of
NSStrings of user account short names. There must be a way without
parsing obscure system files, or spawning off NSTas
Le 11 mars 08 à 09:51, Andrew Farmer a écrit :
On 11 Mar 08, at 01:01, Mac QA wrote:
On 3/11/08, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote:
As far as I know, the only reliable way to get users accounts is to
use DirectoryServices ... you also have to be aware
that the local user list storage
On 11 Mar 08, at 01:01, Mac QA wrote:
On 3/11/08, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote:
As far as I know, the only reliable way to get users accounts is to
use DirectoryServices ... you also have to be aware
that the local user list storage has change between 10.4 and 10.5
Thanks for th
On 3/11/08, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote:
> As far as I know, the only reliable way to get users accounts is to
> use DirectoryServices ... you also have to be aware
> that the local user list storage has change between 10.4 and 10.5
Thanks for the info. Sounds none too convenient
As far as I know, the only reliable way to get users accounts is to
use DirectoryServices but Apple do not provide Obj-C API for Directory
Services.
There is an obj-C wrapper in the DSTools project of Darwin (http://www.opensource.apple.com/darwinsource/
), so you may have a look at it.
Anyway
Hi,
I am seeking the nice clean Cocoa way of getting a list of user
accounts on the local system. Ultimately in the form of an NSArray of
NSStrings of user account short names. There must be a way without
parsing obscure system files, or spawning off NSTasks and parsing
output, right? Any and all