Changing Anonymous user role to Admin user role at run time

Hi guys, I have successfully changed the user role of the current user from Anonymous user to Admin user in the microflow at run time  While trying to navigate to the particular page I am not able to see the page details according to the user role which I changed in the run time(Admin) I am not sure whether the user changed in the role is not getting refreshed       -----------“Please share some idea on changing the user role at run time and display the data accordingly”----   Thanks
1 answers

Did you log out and in again? User role changes are only applied on the next login.