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
Carolina W 2Carolina W 2 

UserId in formula field

I want to insert UserId of the SObject AccountTeamMember  in a formula field, but I'm not able to put this field...
How can I do it?

User-added image
 

We can see that I don't have the option to put UserId in the formula. 

Best Answer chosen by Carolina W 2
Carolina W 2Carolina W 2

Formula solution:

User.Enrollment__c

All Answers

ShirishaShirisha (Salesforce Developers) 
Hi Carolina,

Greetings!

Please find the fied with the name UserId on AccountTeamMember object to create the formula field.

Reference:https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_accountteammember.htm

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri
Carolina W 2Carolina W 2
@Shirisha 

The name is UserId...I can't use it in a formula field...I don't know why...
Carolina W 2Carolina W 2

Formula solution:

User.Enrollment__c

This was selected as the best answer