Link to home
Start Free TrialLog in
Avatar of gladstonesheeba
gladstonesheeba

asked on

Role -based security using windows authentication

Hi ,
We have a table in the oracle database called user which has these fields and their related data and a role table


User table:

user_id , ntdomain,ntlogin,fullname, email,is_active,lastupdate_dt,created_by

User_Role Table: User_role_id,user_id,role_id,is_active,last_update_dt,created_by

Role Table:

Role_id,Role_description.

We have the above tables in the oracle database. We have an asp.net web intranet application in which i have to implement the security component.
I need to create a class with these methods

Authenticate()
adduser()
Change userStatus()
Is Authenticated()
Add role()
delete Role()
Get Roles()
Is Role Allowed()


Iam not sure how to implement these things since iam very new to this C# and Object-oriented Concept. Could anyone please help me and guide me in this. what should i have to do and from where i have to start. if you could send me some sample codes also , then that would be great

elizabeth
Avatar of Jeeva Subburaj
Jeeva Subburaj
Flag of United States of America image

Avatar of gladstonesheeba
gladstonesheeba

ASKER

but it is a form authentication . i need windows authentication
ASKER CERTIFIED SOLUTION
Avatar of Jeeva Subburaj
Jeeva Subburaj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial