Re: What happens to the AppKit Framework when an user logout ?
Re: What happens to the AppKit Framework when an user logout ?
- Subject: Re: What happens to the AppKit Framework when an user logout ?
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 17 Oct 2001 13:20:17 +0200
On mercredi, octobre 17, 2001, at 01:55 , Ondra Cada wrote:
Stephane,
Stephane Sudre (SS) wrote at Wed, 17 Oct 2001 12:27:40 +0200:
SS> add the client to every user Login items (where is the API ?)
I guess it's stored in the plain old defaults database, isn't it?
That's surely the case but the fact that a user can remove it from there
is a stop problem.
And there are some potential problems when you're doing things like
this. If Apple decides to made some modification, well, bye bye
compatibility.
There was a similar problem when you wanted to get the name of the
Computer (the AppleShare one):
in 10.0.x you could find the /var/db file and get the Info in the .plist.
Happily you can now use the System Configuration API (which is really
well designed with shortcuts for common tasks).