I am creating a SF community to allow contractual employees to access some of their information in our org. I am attempting to shift some accountability to these employees by making them responsible for ensuring their contact and shipping info is up-to-date without needing some case submission or approval process, but limiting what they can change heavily.
I've come across this trigger and class that did just this by synchronizing the fields in their portal profile with their internal contact record.
Source: https://developer.salesforce.com/page/Synchronizing_Portal_Users_with_Contact_Record_Data
Since communities have replaced Portals for the type of functionality I am looking for, will this trigger work similarly on a community profile given some tweaks?
I'm just beginning to learn Apex (and programming in general), so sorry if this should be relatively obvious.