Can we impliment role based dropdown menu?

Can we impliment role based dropdown menu?

  
I have to impliment a dropdown menu with submenus in it and this will be totally rolebased menu. Is there any example availabele?

You can use the check role function under the each role created in the application.

You can use that function in your expression or logic to choose what datasource or query your dropdown will load.
Hi JC,
I want to map menu (submenues) with role and want to keep this relation somewhere in the database so as the user logged in i will simply fetch all the menus from database by mapping user and menus role.
so only menues which are mapped with user role will be visible to him.
I am sure there are some examples,
but it's basically creating a new table with "menuitemid"  and "roleid" in it.
do a join on that table based on role with menuitem, and you got a list of menuitems.