I have some HTML content on a webpage in Dynamics Portals with some different DIVS containing specific information. I would like to control what content on the page is displayed to the user based on the webrole assigned to the logged-in user.
Is there some javascript that can run onLoad that can check for a specific webrole and then allow the DIV to be displayed?