How does XmlSiteMapProvider check user to be in specific role?

Posted by abatishchev on Stack Overflow See other posts from Stack Overflow or by abatishchev
Published on 2010-05-22T13:58:38Z Indexed on 2010/05/22 14:00 UTC
Read the original article Hit count: 331

I roll my own SiteMapProvider inheriting System.Web.XmlSiteMapProvider.

I want to override logic of checking user to be in a role specified in siteMapNode's property roles:

<siteMapNode url="Add.aspx?type=user" title="Add user" roles="admin" />

How can I do that? Which class's member does XmlSiteMapProvider call to check that if securityTrimmingEnabled="true"?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET