Re: CGSessionCopyCurrentDictionary
Re: CGSessionCopyCurrentDictionary
- Subject: Re: CGSessionCopyCurrentDictionary
- From: "Jeff Schindler" <email@hidden>
- Date: Thu, 10 Nov 2005 09:28:38 -0500
There is no valid user name at that point. No user has logged in yet.
To check the login state of the session, use the key
kCGSessionLoginDoneKey. The value will be kCFBooleanFalse if no user has
logged in yet, and kCFBooleanTrue if a user is logged in.
OK, that makes sense and I expected as such. But it seems as though the
behavior has changed in 10.4.3 and doesn't work as the headers describe. Is
kCGSessionLoginDoneKey guaranteed to be a valid key to check in both 10.3
and 10.4? I suspect that what is happening in 10.4.3 is that
CGSessionCopyCurrentDictionary is returning non-null prior to login, which I
believe is not the case pre-10.4.3 - is that possible?
_______________________________________________
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