Re: Enum All Roles in a Principal?

From: Beginner (bzhang_at_hotmail.com)
Date: 02/28/04

  • Next message: Galore: "Re: Active Directory"
    Date: Sat, 28 Feb 2004 10:57:37 -0500
    
    

    You can implement custom IIDentity and IPrincipal and do whatever you want
    with it.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT06.asp

    "localhost" <primpilus@cohort.ces> wrote in message
    news:hctu30tujssnib50pruo5937c2itkuia3i@4ax.com...
    >
    > I know how to do ..IsInRole() to test if a user is in a particular
    > role.
    >
    > How do I enumerate all of the roles currently attached to my principal
    > instance? WindowsPrincipal or GenericPrincipal.
    >
    > Thanks.
    >


  • Next message: Galore: "Re: Active Directory"