Re: Fast User Switching in Panther...
Re: Fast User Switching in Panther...
- Subject: Re: Fast User Switching in Panther...
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 5 Aug 2003 18:52:06 +0200
On mardi, ao{ 5, 2003, at 17:52 Europe/Paris, Alec Carlson wrote:
OK, here's a scenario:
1. The Mac is powered off
2. UserA powers the Mac up and logs into Panther
3. As part of the OS startup process, a background server application
is
launched. It will be run in a process owned by UserA.
It can't be a part of the OS startup process since this would get
launched before any user is logined.
[...]
Any suggestions for resolving this ?
Maybe SystemConfiguration Framework API can do this.
There's an API to get the uid, gid and UserName of the console user.
But I don't know if this has been revamped for Panther since this
information might not be correct anymore.
What I9d like to see:
1. An API for determining who the last login or fast-switch user is.
2. Or an API to get the owner name of the 3Window Manager2 process (I9m
assuming there is only one Window Manager running at a time)
3. and callback registration to allow notifications of user switching
Comments welcome...
Alec
_______________________________________________
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.