IsInRole not as expected
From: charles (charles@synthigence.com)
Date: 01/29/03
- Next message: Kevin R.: "Re: Cannot apply SP3 to NetSDK MSDE"
- Previous message: logan: "I can't login to Sql no matter what i try! i'm ignorant and i need help :)"
- Next in thread: Kim Bach Petersen: "Re: IsInRole not as expected"
- Reply: Kim Bach Petersen: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "charles" <charles@synthigence.com> Date: Wed, 29 Jan 2003 14:05:37 -0800
I have two ASP.NET apps, one of which frames in the other. The outer is
IBuySpy.
>From my inner app, when I look at HttpContext.Current.User.Identy.Name I get
a name which matches the IBuySpy name. IsAuthenticated is likewise correct.
However, when I call
HttpContext.Current.User.IsInRole("Admins")
it always returns false--even for users where I can step through on IBuySpy
and see it returning true.
Is there a difference about roles accross multiple applications?
thanks
charles
- Next message: Kevin R.: "Re: Cannot apply SP3 to NetSDK MSDE"
- Previous message: logan: "I can't login to Sql no matter what i try! i'm ignorant and i need help :)"
- Next in thread: Kim Bach Petersen: "Re: IsInRole not as expected"
- Reply: Kim Bach Petersen: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]