Distribution groups & IsInRole & Windows Auth

Discussion in 'ASP .Net Security' started by Mike, Sep 1, 2004.

  1. Mike

    Mike Guest

    I have searched and cannot find anything definitive. The IsInRole
    method looks at a pre-populated set of groups which the identity has
    membership in. Does the .Net framework look at both membership in
    distribution and security groups when populating the set of groups, or
    does it only look at membership in security groups.

    I am having trouble seeing distribution group which I am a member of
    when calling the IsInRole method.
     
    Mike, Sep 1, 2004
    #1
    1. Advertising

  2. If it is the WindowsPrincipal class that is being used to call IsInRole,
    then only security groups are included as these are the only groups that
    will be in your logon token.

    This is by design in Windows as distribution groups aren't supposed to be
    used for security purposes.

    Joe K.

    "Mike" <> wrote in message
    news:...
    > I have searched and cannot find anything definitive. The IsInRole
    > method looks at a pre-populated set of groups which the identity has
    > membership in. Does the .Net framework look at both membership in
    > distribution and security groups when populating the set of groups, or
    > does it only look at membership in security groups.
    >
    > I am having trouble seeing distribution group which I am a member of
    > when calling the IsInRole method.
     
    Joe Kaplan \(MVP - ADSI\), Sep 1, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hyaXMgTW9oYW4=?=

    Configuring Windows Auth & Forms Auth in Asp.Net

    =?Utf-8?B?Q2hyaXMgTW9oYW4=?=, Apr 28, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    764
    =?Utf-8?B?Q2hyaXMgTW9oYW4=?=
    Apr 28, 2004
  2. =?Utf-8?B?ZGhucml2ZXJzaWRl?=

    Windows Auth, but Forms Auth for one page?

    =?Utf-8?B?ZGhucml2ZXJzaWRl?=, Jan 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    613
    Elton Wang
    Jan 8, 2005
  3. Ufit
    Replies:
    1
    Views:
    811
  4. Chris Mohan

    Configuring Windows Auth & Forms Auth in Asp.Net

    Chris Mohan, Apr 28, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    477
    Chris Mohan
    Apr 29, 2004
  5. Forms Auth Info passed to Windows Auth?

    , Apr 28, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    267
    Hernan de Lahitte
    May 3, 2005
Loading...

Share This Page