----- Original Message -----
From: "Ingo Lundberg" <[EMAIL PROTECTED]>

> If you use WindowsPrincipal and do an IsInRole every group membership of
> your account is resolved. If you, as I am, are a member in *a lot* of
groups
> this will take time.
[snip]
> In the process I discovered that
> there must be some threshold making WindowsPrincipal store the roles in a
> Hashtable instead of a simple array.

FYI.  In the current build, that threadhold (see the MAGIC_NUMBER field of
WindowsPrincipal) is 23 groups.

-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to