Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/Collaboration.framework |
Availability | Available in Mac OS X v10.5 and later. |
Companion guide | |
Declared in | CBIdentity.h |
An object of the CBGroupIdentity
class represents a group identity and is used for viewing the attributes of group identities from an identity authority. The principal attributes of a CBGroupIdentity
object are a POSIX group identifier (GID) and a list of members.
Returns the group identity with the given POSIX GID in the specified identity authority.
+ (CBGroupIdentity *)groupIdentityWithPosixGID:(gid_t)gid authority:(CBIdentityAuthority *)authority
The GID of the group identity you are searching for.
An identity authority in which to search for the group identity.
The group identity object with the given GID in the specified identity authority, or nil
if no identity exists with the specified GID.
CBIdentity.h
Returns the members of the group.
- (NSArray *)members
An array of CBIdentity
objects each representing a member of the group identity.
This method only returns direct members of a group, it does not return members of members. Both user and group identities can be members of a group, but a group cannot be a member of itself. You also cannot have “circular” membership, i.e. a group be a member of another group that is a member of the first group.
CBIdentity.h
Returns the POSIX GID of the identity.
- (gid_t)posixGID
The POSIX GID of the group identity.
The POSIX GID is an integer that can identify a group within an identity authority. GIDs are not guaranteed to be unique within an identity authority.
CBIdentity.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-05-14)