Just wanted to say thanks for the help. Your solution worked. :)
Jessica
CBGroupIdentity is a subclass of CBIdentity. So in the NSArray of
CBIdentity items returned from the identity picker, you test whether
each item is a CBGroupIdentity or not using the normal Objective-C
mechanism:
The third thing I tried is getting the gid using:
gid_t curGroupID = getgid(); OR
int curGroupID = getgid();
CBGroupIdentity *groupIdentity = [CBGroupIdentity
groupIdentityWithPosixGID:curGroupID authority:[CBIdentityAuthority
defaultIdentityAuthority]];
When I try to show the gid using
Hi all,
First of all, I apologize because I have only been developing Cocoa for a
few months and I'm learning as I go. Hopefully I'm not making some newbie
mistake.
I am trying to write a program that, among other things, generates a list of
user and group identities using the identity picker