List windows users in a specific role

Discussion in 'ASP .Net Security' started by Dorte, Nov 28, 2005.

  1. Dorte

    Dorte Guest

    Hi,

    My ASP.NET application is for intranet use, and thus the level of security
    does not need to be high.

    The application uses windows authentication and administrators of this
    application need to get a list of the users that belong to a specific windows
    role. Is there a method I can use to get a list of users in a specified role?
    I know the IPrincipal.IsInRole method for determining whether the current
    user is in a special windows role, but is there a similar method for getting
    a list of all users in a specified windows role?

    Thanks, Dorte
    Dorte, Nov 28, 2005
    #1
    1. Advertising

  2. Can you use AD Users and Computers to look at the group and see its members?
    That is pretty straightforward if you want a graphical tool.

    Joe K.

    "Dorte" <> wrote in message
    news:...
    > Hi,
    >
    > My ASP.NET application is for intranet use, and thus the level of security
    > does not need to be high.
    >
    > The application uses windows authentication and administrators of this
    > application need to get a list of the users that belong to a specific
    > windows
    > role. Is there a method I can use to get a list of users in a specified
    > role?
    > I know the IPrincipal.IsInRole method for determining whether the current
    > user is in a special windows role, but is there a similar method for
    > getting
    > a list of all users in a specified windows role?
    >
    > Thanks, Dorte
    Joe Kaplan \(MVP - ADSI\), Nov 29, 2005
    #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. Jesper Stocholm
    Replies:
    2
    Views:
    8,074
    John Saunders
    Aug 23, 2003
  2. Liet Kynes
    Replies:
    0
    Views:
    477
    Liet Kynes
    Nov 26, 2003
  3. Markus Palme
    Replies:
    2
    Views:
    4,202
    Markus Palme
    Sep 22, 2006
  4. Kursat
    Replies:
    7
    Views:
    225
    Alexey Smirnov
    May 3, 2007
  5. Kursat
    Replies:
    1
    Views:
    303
    Dominick Baier
    May 7, 2007
Loading...

Share This Page