So I want to implement Parental Controls per user in my app, but I need a way of getting all Users and add them to an NSTableView. These users should be the same displayed by the Login Window, excluding the Other… one and system users.
Any ideas on how to do this? Also, I want to be able to get the selection on that table view and of course change the settings displayed according to that.
Here’s how I do it:
The
CBIdentityobjects are much more convenient to use than theCSIdentityRefobjects, but they do require importing the Collaboration framework.