Add User Role as content into hided field

Add User Role as content into hided field

Hi all,
I like to store the accessing User Role in a hided field to activate and deactive visibility of other filelds before openeing the form.
Is ther some deluge system variable to fill fields with the user role (or user datas in general)?

Thanks,

Oliver