By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 1,646 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

User Permissions in ASP.NET 2005

P: 19
Hello everyone,

I am using ASP.NET 2005 with C#.

Actually my application have to perform the following functionalities:
-> Firstly administrator will create user and assign permissions to them.

-For example , the application has a menu containing VillageMaintenance Module ,SurveyMaintenance Module ,Reports.

Now the administrator will decide which menu will be visible to a particular user.

And my application requires that I have to create a table like UserPermission:
This table will contain userid and all the menus of application :

UserID,VillageMaintenance Module ,SurveyMaintenance Module ,Reports.

If the adminstrator has given permission of VillageMaintanance Module to a Particular user ,then in this table VillageMaintenanceModule(DataType Bit) will get set to 1 otherwise 0.

Iam using ASP.NET menu only.
So please suggest how I will achieve this.Like how will check whether this menu should get visible to a user or not once he login. I am really confused how to start.Please help me its really very urgent

And I have to create auditTrail also.Like creating a report that will show when a user has logged in , which menu he has visited.
I have to do this using session but I don't know how to do this.


Please help me by giving some related coding to my application or any kind of help.Just plz help me.
Dec 5 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.