• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Display Current Role on topnav

Using JDE Tools 9.1.4

Looking to display the Current selected role on the top Navigation bar once logged in. currently it display Fullusername [Environment] in the top right hand corner.

i have found in the file htmlgmtop.jspf the line:
<SPAN>[<%=environment.getEnvironment() %>:<%=environment.getRole().getRoleName() %>]</SPAN>
Which sounds perfect. however i haven't been able to get it to work in DropdownHttpMafletWrapperHeader.jsp
with and without <jsp:useBean id="environment" scope="request" class="com.jdedwards.services.login.LoginEnvironment"/>
I assume this or something similar would be required to declare environment to be able to use environment.getRole().getRoleName()