How to change Node Visibility in ModuleInitializer

Aug 13, 2007 at 7:31 PM
We have been capable to allow or not, a user to enter to our webSite according to its assigned roles, implementing our own RoleProvider, but...

we need to NOT show some nodes of our treeView, according to the loggued user roles.

We are not sure if this must be done in each ModuleInitializer class...
Does this issue has to do with the SiteMapBuilderService Add(SiteMapNodeInfo node, string AuthorizationRule) method?