Current user reference in template for visibility script

Hello Experts, 

Can anyone tell me if there is a way to reference the current user in a template? I need to add something in the visibility script to be true based on role.

Any help is appreciated. 

Thank you,

Lu