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
Sean O-ConnellSean O-Connell 

Formula to Access Communites User Id

I am trying to build a list view for our communites members so if there name is in the "Inspector" Contact Lookup field (current User ID = the id of the protal user that is also the contact)  they would show up a list view so I was tring to do something like below but i dont know how to access the portal user id.  I can access the contact id that made the protal user and I can access the owner id but not the portal user id for that contact, 


IF( portalUSER__r.Id = $User.Id, "Yes", "No")

is this possible?

Thanks

Sean
NagaNaga (Salesforce Developers) 
Hi Sean,

Can you try creating a custom Formula(Text) field on the User object.  
The formula would just be:  Id

Best Regards
Naga kiran
 
Sean O-ConnellSean O-Connell
you are not able to create formual fields on the user object 

http://screencast.com/t/bQHrZqksrGt

The Communites Contact and the Communites User have to be linked somehow but maybe only through APEX this can be done.