Re: IsInRole not as expected

From: Kim Bach Petersen (msnews@kensho.dk)
Date: 01/30/03


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)



Relevant Pages

  • Re: Shall I return?
    ... > As Rib has mentioned, people come and go but those ... Being extremely energy-inefficient most of these barnyard missiles burn themselves out like meteors, very early, a few last the middle distance, and rare few can fly and fly and then refuel in the air. ... Of course, these fictive backdrops are never ever right, most usually grossly contaminating of the meaning-making context. ... Blind people cannot invent the backdrops they must negotiate to avoid bumps and bashes, but I think that is actually something most of us, especially the new, hot comets, do right here. ...
    (rec.music.classical.guitar)
  • Re: Quran 5:32
    ... holocaust on high prices" - regardless of context - I expect that ... law so recently passed regarding terrorism, ... It would be awful to be blind. ...
    (rec.sport.football.college)
  • Re: Islam was spread by the sword? What about Christianity?
    ... Is the Pope really blind to the fact that his words would be ... taken out of context and spread around the world? ... pope is really blind" or "Eric predicts that the pope's words will be spread ...
    (uk.religion.christian)
  • Re: Who Is The Greatest Scottish Person In History?
    ... The Anglophobic tone is historically accurate within the context of Scottish ... Nationalism -- particularly Blind Harry's poem. ...
    (soc.culture.scottish)
  • Re: Islam was spread by the sword? What about Christianity?
    ... Is the Pope really blind to the fact that his words would be ... taken out of context and spread around the world? ...
    (uk.religion.christian)