public bool IsAccessibleToUser(SiteMapNode siteMapNode)
        {
            // not clickable? always accessible.
            if (!siteMapNode.Clickable)
                return true;

            var httpContext = new HttpContextWrapper(HttpContext.Current);

            // is it an external url?
            if (siteMapNode.HasExternalUrl(httpContext))
                return true;

            return VerifyNode(siteMapNode, httpContext);
        }
        public bool IsAccessibleToUser(SiteMapNode siteMapNode)
        {
            // not clickable? always accessible.
            if (!siteMapNode.Clickable)
            {
                return(true);
            }

            var httpContext = new HttpContextWrapper(HttpContext.Current);

            // is it an external url?
            if (siteMapNode.HasExternalUrl(httpContext))
            {
                return(true);
            }

            return(VerifyNode(siteMapNode, httpContext));
        }