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
kabukabu 

How to see a contact/Accountid on a user page layout record?

I see the Field ContactID and AccountId on user object thro' fields UI browser  but when I go to UI or page layout I don't see.

 

How can I see that on user pagelayout?

 

 

thanks

kab

Best Answer chosen by Admin (Salesforce Developers) 
kabukabu

Found it here how to assign contactid to user

 

 

http://wiki.developerforce.com/page/Apex_Testing_with_RunAs

All Answers

Satish_SFDCSatish_SFDC
Are these custom fields.
Well you can always create a formula field in the User object to see the ContactID and AccountID.

Regards,
Satish Kumar
kabukabu

These are Standard fields and Contact field can't be updated. I wanted to update the field or populate the field but contactid gives error when I assignthe value thro' apex.

 

I am wondering how to populate Contactid on user.

 

thanks

kabukabu

Found it here how to assign contactid to user

 

 

http://wiki.developerforce.com/page/Apex_Testing_with_RunAs

This was selected as the best answer