Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. user group from active directory

user group from active directory

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-adminsecurityhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    test 09
    wrote on last edited by
    #1

    Im using windows authentication in asp.net application and it is working fine... I need to give roles for particular user group.. how do we get the user groups from active directory.... Searched google but i could not find that.. Help me out....

    A M 2 Replies Last reply
    0
    • T test 09

      Im using windows authentication in asp.net application and it is working fine... I need to give roles for particular user group.. how do we get the user groups from active directory.... Searched google but i could not find that.. Help me out....

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      test-09 wrote:

      Searched google but i could not find that..

      Did you read this article ? Howto: (Almost) Everything In Active Directory via C#[^]

      Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      1 Reply Last reply
      0
      • T test 09

        Im using windows authentication in asp.net application and it is working fine... I need to give roles for particular user group.. how do we get the user groups from active directory.... Searched google but i could not find that.. Help me out....

        M Offline
        M Offline
        Michel Godfroid
        wrote on last edited by
        #3

        thread.CurrentPrincipal -> WindowsPrincipal[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups