check if a user is a member of a particular group in active direct

Discussion in 'ASP .Net Security' started by Smitha, Sep 9, 2005.

  1. Smitha

    Smitha Guest

    Hi everyone,

    in my asp.net application,i need to find out if a particular user is in the
    administrator group and permit him access to certain pages accordingly.
    can anybody help me in finding out the administrative group in the active
    directory using c# and check if the user is a member of that group.

    i would also like to know
    1. how to find out the security groups in the active directory
    2.list all the groups that the user is a member of.
    any sort of help will be appreciated.

    thanks,
     
    Smitha, Sep 9, 2005
    #1
    1. Advertising

  2. Smitha try looking at my blog at:-
    http://spaces.msn.com/members/naijacoder/
    i blogged something related.
    Hope that helps
    Patrick

    "Smitha" <> wrote in message
    news:...
    > Hi everyone,
    >
    > in my asp.net application,i need to find out if a particular user is in

    the
    > administrator group and permit him access to certain pages accordingly.
    > can anybody help me in finding out the administrative group in the active
    > directory using c# and check if the user is a member of that group.
    >
    > i would also like to know
    > 1. how to find out the security groups in the active directory
    > 2.list all the groups that the user is a member of.
    > any sort of help will be appreciated.
    >
    > thanks,
    >
    >
     
    Patrick.O.Ige, Oct 31, 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. bj daniels
    Replies:
    2
    Views:
    381
    bj daniels
    Oct 20, 2004
  2. =?Utf-8?B?VmlubnkgVmlubg==?=

    Check if user is a member of a domain group

    =?Utf-8?B?VmlubnkgVmlubg==?=, Sep 27, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    6,998
    Mark Rae
    Sep 27, 2005
  3. Akaketwa
    Replies:
    1
    Views:
    4,948
    impaler
    Sep 22, 2006
  4. Iain
    Replies:
    5
    Views:
    1,520
    Alexey Smirnov
    Oct 19, 2009
  5. Tony WONG

    Check member of NT group

    Tony WONG, Mar 14, 2007, in forum: ASP General
    Replies:
    0
    Views:
    158
    Tony WONG
    Mar 14, 2007
Loading...

Share This Page