# Get user name in templates

**URL:** <https://forum.keycloak.org/t/get-user-name-in-templates/8017>\
**Category:** Getting advice\
**Created:** [March 18, 2021, 2:08pm UTC](https://forum.keycloak.org/t/get-user-name-in-templates/8017 "2021-03-18T14:08:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zehrenics](https://avatars.discourse-cdn.com/v4/letter/z/9fc29f/32.png) [@zehrenics](https://forum.keycloak.org/u/zehrenics)\
**Post date:** [March 18, 2021, 2:08pm UTC](https://forum.keycloak.org/t/get-user-name-in-templates/8017/1 "2021-03-18T14:08:37Z")

</div>

Hey guys, im trying to get the users firstName and lastName in the template to display the information.  
But i only get these attributes the update-profile template with user.firstName!  
How do i get this in other templates like terms and conditions?

Thanks for your help!
