Hi @FerSal68 ,
As far as I think,you could create multiple sitemaps for different users.You could use SiteMapProvider to bind the repeater and according to user's role, bind their own separate sitemap files.
By the way,please use english.
More details,you could refer to below articles:
https://www.codeproject.com/Articles/669717/How-to-correctly-use-sitemap-for-top-left-menus
https://forums.asp.net/t/1190968.aspx?Menu+sitemap+and+Repeater+control+
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @FerSal68 ,
I suspect you've fallen into the trap, in believing that the roles attribute restricts visibility of the nodes. It doesn't, it actually widens visibility. All restrictions are done with the standard section in web.config.
Just like this:
https://web.archive.org/web/20130408064047/http://ipona.com/asp-net-site-maps-security-trimming-and-roles/
Best regards,
Yijing Sun
good!! ok thanks, you have a link to do the session setting step by step, I am doing something wrong or I am missing setting since I am not saving the variables