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
Shanmu P 6Shanmu P 6 

Is it possible to add a custom field to "Users page" using apex?

I want to set a trigger on "user" object and that be optional. So that I need to add a custom checkbox to "Users" object creation page. Is it possible? If so please provide any samples. Thanks in Advance!
Manj_SFDCManj_SFDC
Refer this , may give you some insight 
https://developer.salesforce.com/forums/?id=906F0000000DEaDIAW
please mark your question as solved if this helps
good luck !
mukesh guptamukesh gupta
Hi Shanmu,

You can't access the metadata API via Apex, so you need to create custom checkbox from user object. and use in trigger.

if you have any query then let me know.

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh


 
Shanmu P 6Shanmu P 6
Hi Mukesh and Manj,
Is there any way to create custom checkbox  in "Users page" from apex?
Manj_SFDCManj_SFDC
I don’t think you can do it, you can update the existing checkbox though