I found this lovely code in this question that helps me get the list of users.
#import ODSession *s = [ODSession default