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.