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
Sana nikileshSana nikilesh 

How to populate a value from a custom setting field on to a field on the user object

When we create a 2 Field on the custom setting 1st field carries the value of the user record 2nd field carries the profile id when we enter the id of a specific profile and save the record then the 1st field value should populate on all user records under that profile. Can some one help me out with the code ?
NagendraNagendra (Salesforce Developers) 
Hi Nikilesh,

Please check with the below posts for similar issue.
  • https://developer.salesforce.com/forums/?id=906F0000000BP4bIAG
  • https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_custom_settings.htm
Please mark this as solved if it helps.

Best Regards,
Nagendra.P