Thank you to everyone that responded. After reading through the Technical Q&A QA1133 and Technical Note TN2083 (as well as all of your responses) I decided to use the utmpx API's for this application. I like the concept of dividing users and system functions into separate user agents and system daemons, but this particular situation just didn't warrant the extra overhead. So, I decided to keep it simple (KISS) and just do a quick loop with the getutxent function.
I also looked at SCDynamicStoreCopyConsoleUser (which is the simplest way to do this) but QA1133 states "...likely that they will be formally deprecated in a future version of Mac OS X", where as the utmpx API is new to 10.5 which implies a potentially longer life. Thanks again, Tom _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
