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:
> [so
On Apr 29, 2009, at 7:36 AM, Jessica Billings wrote:
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
defaultIdentity
Jessica Billings wrote:
My ultimate problem is that I
have a number of group identities chosen by the identity picker. I
need to
look at their member lists and see if the logged-in user is in any
of those
lists. What I can't figure out is how to get access to the member
lists of
the groups
On Wed, Apr 29, 2009 at 9:36 AM, Jessica Billings
wrote:
> What group is this referring to? If I made a local "test_group" and put the
> user in that, would it be the gid of "test_group"? What if the user is an
> many groups, both local and managed? This is the heart of my problem.
Users in UNIX
>> 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
On Apr 28, 2009, at 8:58 AM, Jessica Billings wrote:
I am trying to write a program that, among other things, generates a
list of
user and group identities using the identity picker and then checks
to see
if the logged-on user matches any user identity or is a member of
any group.
I can do
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 and