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
Rajat MahajanRajat Mahajan 

Reg: Group Object - How to add specific users only

Hi,

 

I have a public group in which i need to add only the salesforce user license users. 

 

Can you guys let me know the best approach to do this ? Its very hectic to do it manually

 

Thanks in Advance!

Rajat

Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
1. Generate your user list in the Report, there you can filter with license type
2. use Dataloader to insert the user list into a public group on the GroupMember object

doc:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_groupmember.htm

All Answers

Jia HuJia Hu
1. Generate your user list in the Report, there you can filter with license type
2. use Dataloader to insert the user list into a public group on the GroupMember object

doc:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_groupmember.htm
This was selected as the best answer
Rajat MahajanRajat Mahajan

Thanks Man!