Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IRole.AddCommunityMember Method 

Adds a community member to a role.

void AddCommunityMember(
   int communityID,
   CommunityMemberTypes memberType
);

Parameters

communityID
Community id the user to be added belongs to; must be positive
memberType
Member type of the user in the community; cannot be null

Remarks

Note that adding a nonexistent member id will succeed until the role has been updated via the Store method, whereby the role instance will get refreshed.

Exceptions

Exception Type Condition
ArgumentException Community ID is not positive

See Also

IRole Interface | Plumtree.Remote.PRC.Collaboration.Security Namespace