copy user role helper from bam to headoffice