Re: Fast User Switching in Panther...
Re: Fast User Switching in Panther...
- Subject: Re: Fast User Switching in Panther...
- From: Shawn Erickson <email@hidden>
- Date: Fri, 1 Aug 2003 09:46:19 -0700
On Friday, August 1, 2003, at 09:33 AM, Alec Carlson wrote:
Since no one answered my question about where to post this question,
I'll
ask it here.
Is there an API which allows an application to track who the current
user is
? It doesn't seem like the logged in user is logged out when a user
switch
occurs. So, how can an app find out who the current user is when a user
switch occurs ? SCDynamicStoreCopyConsoleUser( NULL, &uid, &gid )
returns
the logged in user not the current user.
What kind of application are you? If you are a GUI application you will
(highly likely) be launched by a given user and only exist in thats
user login "space".
In a multi-user system you really don't have a "current" user. The fact
that one user is in control of the monitor may have little meaning if
and when remote GUI logins are fully supported on Mac OS X.
So if you could clarify what you are looking for.
-Shawn
_______________________________________________
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.