A
Arthur Dent
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.
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.