# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Hi $user.getAttributeMap().get("firstname").getValues().get(0) $user.getAttributeMap().get("surname").getValues().get(0), welcome to Syncope! Your username is $user.getUsername(). Your email address is $user.getAttributeMap().get("email").getValues().get(0). Your email address inside a link: http://localhost/?email=$esc.url($user.getAttributeMap().get("email").getValues().get(0)) . This message was sent to the following recipients: #foreach($recipient in $recipients) * $recipient.getAttributeMap().get("surname").getValues().get(0) #end becase one of the following events occurred: #foreach($event in $events) * $event #end #if(!$user.getMemberships().isEmpty()) You have been provided with the following roles: #foreach($membership in $user.getMemberships()) * $membership.roleName #end #end SMPT HOST is $syncopeConf.get("smtp.host").