Re: IsInRole not as expected
From: charles (charles@synthigence.com)
Date: 01/30/03
- Next message: GolferAGW: "Re: Config error using domain user for ASP.NET worker process"
- Previous message: Hithesh Ranchhod: "Re: SSL and redirect"
- In reply to: Kim Bach Petersen: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "charles" <charles@synthigence.com> Date: Thu, 30 Jan 2003 09:03:18 -0800
Thanks...
It looks like the Name and IsAuthenticated are part of the context but roles
are not... so I need to reread the cookie in order for the roles to be
reflected in my own app.
charles
"Kim Bach Petersen" <msnews@kensho.dk> wrote in message
news:#Brjo1DyCHA.1580@TK2MSFTNGP09...
> > HttpContext.Current.User.IsInRole("Admins")
>
> A blind guess: The IsInRole-function is added to the context in
global.asax,
> its not a defalut function of the page class - that is, make sure the
useres
> roles are added to the context in both global.asax-files.
>
> Kim :o)
>
>
- Next message: GolferAGW: "Re: Config error using domain user for ASP.NET worker process"
- Previous message: Hithesh Ranchhod: "Re: SSL and redirect"
- In reply to: Kim Bach Petersen: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|