Hi, I am trying to set client variables for the UserName and Role. I kept all the User Details in the UserProfile Block where OnInitialize should assign UserName and Role but while fetching I couldn't get the UserName and Role value. How to set and fetch Client Variables ?
Also for the Role tagging I have added a condition if the User is tagged in a group and assigned in a Role, needs to fetch data from the getUserRolesAndGroups DataAction else from the get the Role from the getUserRole DataAcion. How do I handle this in client Variable ?
Hi ,
I have updated your oml.
you can check and there is no need to use Oninitialize functions.