function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
V'NathV'Nath 

Can we add Chatter External user into Chatter Group member

Hi All,

 

Can we add Chatter External user into Groupmember

 

 

CollaborationGroupMember cgm = new CollaborationGroupMember(                                                memberId ='Userid' ,                                                collaborationgroupId = 'Groupid'  //Listening Sessions Group                                                                                          );insert cgm;

 

 

i got the following Error, but this code works for Remaining users 

Error: invalid Cross Reference 

 

cloudcodercloudcoder

can you post some more code? I would like to try this out. It should work.