Re: IsInRole not as expected
From: Kim Bach Petersen (msnews@kensho.dk)
Date: 01/30/03
- Next message: Vince: "NetQueryDisplayInformation"
- Previous message: José Baptista: "Weird behavior ... am I lost or a newbie? Pls read!"
- In reply to: charles: "IsInRole not as expected"
- Next in thread: charles: "Re: IsInRole not as expected"
- Reply: charles: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Kim Bach Petersen" <msnews@kensho.dk> Date: Thu, 30 Jan 2003 09:56:18 +0100
> 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: Vince: "NetQueryDisplayInformation"
- Previous message: José Baptista: "Weird behavior ... am I lost or a newbie? Pls read!"
- In reply to: charles: "IsInRole not as expected"
- Next in thread: charles: "Re: IsInRole not as expected"
- Reply: charles: "Re: IsInRole not as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|