Custom implementation for User.IsInRole??
From: Arthur Dent (hitchhikersguideto-news_at_yahoo.com)
Date: 12/09/04
- Next message: M D: "connecting VS.NET to IIS-what do I have to do"
- Previous message: Paul Clement: "Re: ASP.NET - Basic/SSL - Changes in user group membership delayed"
- Next in thread: Daniel Fisher\(lennybacon\): "Re: Custom implementation for User.IsInRole??"
- Reply: Daniel Fisher\(lennybacon\): "Re: Custom implementation for User.IsInRole??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 9 Dec 2004 10:48:35 -0500
I have an app where im using FormsAuthenticaton, and doing my own
authentication against a users table in my db. I have no problem actually
getting the authentication to work as i want. When the user logs in though,
it is also pulling out a logical bitmapped set of roles that the user
belongs to. (1 = User, 2 = Admin, then ANDing and ORing against the
UserRoles value to determine role membership).
What i am trying to figure out, is how can i use this role information as
the role that is verified against an "allowRoles" or "denyRoles" setting in
the web.config security section?
Thanks in advance,
- Arthur Dent.
- Next message: M D: "connecting VS.NET to IIS-what do I have to do"
- Previous message: Paul Clement: "Re: ASP.NET - Basic/SSL - Changes in user group membership delayed"
- Next in thread: Daniel Fisher\(lennybacon\): "Re: Custom implementation for User.IsInRole??"
- Reply: Daniel Fisher\(lennybacon\): "Re: Custom implementation for User.IsInRole??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|