Specifies a list of roles that are allowed to access this item.
[Visual Basic]
Public Property AllowRoles As
String
[C#]
public
String AllowRoles {get; set;}
Remarks
Uses this property to specify a list of roles that are allowed to access this item. The item will not be displayed if the current user does not belong to any of the roles in the list.
Role is checked via the standard ASP.NET
System.Security.Principal.IPrincipal.IsInRole()
call. The IPrincipal is taken from Context.User.
By default, items that are not allowed to access are disabled. If you want to hide the items instead of disabling them, set HideRoleDisabledItems to True.
Use comma (',') or pipe ('|') to separate multiple roles.
See Also
NavigationItem Class | EO.Web Namespace