CBGroupIdentityMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CBGroupIdentityMBS class.

CBGroupIdentityMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

CBGroupIdentityMBS.copy as CBGroupIdentityMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the object.

CBGroupIdentityMBS.members as CBIdentityMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
An array of CBIdentity objects each representing a member of the group identity.
Example
// get staff group
dim a as CBIdentityAuthorityMBS = CBIdentityAuthorityMBS.localIdentityAuthority
dim i as CBGroupIdentityMBS = CBGroupIdentityMBS.groupIdentityWithPosixGID(20,a)

MsgBox i.fullName

dim members() as CBIdentityMBS = i.members
for each m as CBIdentityMBS in members
MsgBox m.fullName
next

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.

CBGroupIdentityMBS.posixGID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Collaboration MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the POSIX GID of the 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.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


💬 Ask a question or report a problem