sending to different locations depending on members role

when members click on the “shop” button on their member area they will be relocated to a page that is dependent on their role. So if their role is admin they go to one page and if their is “all” they go to another page and so fourth. I am struggling writing an “IF” function and pulling the role information