Aqualogic Interaction API  
 

IPTCommunity.AddMandatoryGroupMember Method 

Doesn't actually add a group as mandatory member since groups are always mandatory. Use to turn on or off a mandatory community tab in the navigation for the specified group. Only groups and no users can be added as mandatory member and need at least EDIT access level to the group object and this community.

void AddMandatoryGroupMember(
   int nGroupID,
   int nMemberType
);

Parameters

nGroupID
Only positive IDs, i.e. negative IDs for users are not accepted.
nMemberType
Either PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_TAB or PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_MANDATORY. Groups cannot be set to PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_FREE.

See Also

IPTCommunity Interface | com.plumtree.server Namespace | PT_COMMUNITY_MEMBERSHIPTYPE