Re: IsInRole Performance Issue

From: Gabriel Lozano-Morán (gabriel.lozano_at_no-spam.com)
Date: 04/27/05


Date: Wed, 27 Apr 2005 20:45:47 +0200

Do you get performance problems when the number of roles a user is in is
higher than the magic number 23 ?

Gabriel Lozano-Morán

"moverton" <moverton.1o60hp@mail.codecomments.com> wrote in message
news:moverton.1o60hp@mail.codecomments.com...
>
> David, did you ever resolve this problem? We are seeing very similar
> problems.
> -mark
>
> David Nicholson - SP/A Shaw Cablesystems wrote:
>> *Hi,
>> We have a very large AD here and I am noticing that the
>> WindowsPrinciple
>> IsInRole function is taking upwards of 1 second to respond with just
>> a single
>> user. I am assuming that this function re-queries the AD everytime.
>> When it
>> reaches about 50 users each query is taking > 10 seconds. Is there
>> anyway to
>> cache the AD query and still use the IsInRole?
>> Thanks :) *
>
>
>
> --
> moverton
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>