Gets or sets the roles the current user belongs to. User roles provide developers with an easy and flexible way to control access to various menu elements. Menu can be assigned to multiple roles.
[C#]
myMenu.Roles = "Admins";
or:
myMenu.Roles = "Admins,Users";
[Visual Basic]
myMenu.Roles = "Admins"
or:
myMenu.Roles = "Admins,Users"
APNSoftMenu Class | APNSoft.WebControls Namespace