admins/editors visible

Oct 24, 2008 at 5:48 PM
Hi,
I know the following line will only show the code to admins:

        Visible = Page.User.IsInRole(BlogSettings.Instance.AdministratorRole);

Is there an equivalent line of code for the Editor role? Thanks.