Click here to Skip to main content
15,896,557 members
Articles / Web Development / ASP.NET / ASP.NET4.0

Generating menu from database according to user privilege

Rate me:
Please Sign up or sign in to vote.
4.97/5 (23 votes)
25 Sep 2012CPOL3 min read 128.1K   5.6K   47  
Dynamic menu generation according to user privileges from database.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "MenuWithCustomPrivs", "..\..\WebSites\MenuWithCustomPrivs\", "{CB59D9F5-007C-4422-9E55-347E817EA50F}"
	ProjectSection(WebsiteProperties) = preProject
		TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
		Debug.AspNetCompiler.VirtualPath = "/MenuWithCustomPrivs"
		Debug.AspNetCompiler.PhysicalPath = "..\..\WebSites\MenuWithCustomPrivs\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MenuWithCustomPrivs\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/MenuWithCustomPrivs"
		Release.AspNetCompiler.PhysicalPath = "..\..\WebSites\MenuWithCustomPrivs\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\MenuWithCustomPrivs\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "1263"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{CB59D9F5-007C-4422-9E55-347E817EA50F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{CB59D9F5-007C-4422-9E55-347E817EA50F}.Debug|Any CPU.Build.0 = Debug|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Malaysia Malaysia
I've been working with various Microsoft Technologies. I have earned my Microsoft Certified Technology Specialist (MCTS) certification. I'm a highly motivated self-starter with an attitude for learning new skills and utilizing that in my work.


--Amit Kumar
You can reach me at:
Facebook | Linkedin | Twitter | Google+

Comments and Discussions