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
dev401hasdev401has 

Add member into workspace using API/code

Hi

 

I am uploading document in a workspace from a visualforce page. It works fine for the user who is having access to workspace but when some other user who does not have access to that workspace tries to upload it then it gives error

 

Is there any way we can add user as member to workspace using API/Code?