0

Hi! I have a static sitemap for a site now. I need to make it so that I can display/not display an option according to data found in the database.

I know that the Stored Proc returns the correct information. It's a record that has either a 0 or 1 for each possible option depending on whether it is allowed to the user's access level.

I have searched but not been able to find anything that would allow me to delete\add nodes depending on this information. I've seen information about the SiteNodes Class, but no reference on deleting or adding nodes. I'm not even sure this is possible, as a result.

Thank you,

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by reach_yousuf
0

Hi! I have a static sitemap for a site now. I need to make it so that I can display/not display an option according to data found in the database.

I know that the Stored Proc returns the correct information. It's a record that has either a 0 or 1 for each possible option depending on whether it is allowed to the user's access level.

I have searched but not been able to find anything that would allow me to delete\add nodes depending on this information. I've seen information about the SiteNodes Class, but no reference on deleting or adding nodes. I'm not even sure this is possible, as a result.

Thank you,

I think you need role based security model. pls. have a look at it
http://weblogs.asp.net/scottgu/pages/Recipe_3A00_-Implementing-Role_2D00_Based-Security-with-ASP.NET-2.0-using-Windows-Authentication-and-SQL-Server.aspx

Mark as solved if it helps you!!!

Edited by reach_yousuf: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.