Hi,
Do you want to add the roles in InfoPath right?
Then please follow the below steps for adding the roles in InfoPath form.
· In your form open Tools --> User Roles --> Add Role.
· "Role Name" text box enter the role name (i.e., HR, Employee etc).
· After the above step, Check the user Names check box and enter the user names in that text box and click “Ok”.
Like this you can add the roles into your form.
If you want to add the roles other than InfoPath form .Please let me know so that I can definitely help you.