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. General Programming
  3. C#
  4. C#, ASP.net, and Active Directory..

C#, ASP.net, and Active Directory..

Scheduled Pinned Locked Moved C#
csharpasp-netwindows-admintutorialquestion
2 Posts 2 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.
  • D Offline
    D Offline
    Dio22
    wrote on last edited by
    #1

    The big picture of what I'm trying to do is to allow all users of an active directory global group to log in to an ASP.net/C# website on my intranet. I have no idea how to do this. Lol. Can someone point me in a direction? thanks.

    L 1 Reply Last reply
    0
    • D Dio22

      The big picture of what I'm trying to do is to allow all users of an active directory global group to log in to an ASP.net/C# website on my intranet. I have no idea how to do this. Lol. Can someone point me in a direction? thanks.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      theory: I think you need something like "Forms" authorization in your ASP.NET website set in web.config; second step for you will be "custom membership provider" to write; i saw a few days ago example on msdn in C#. third step is to create database for your custom membership provider, at this point you can google for the AD examples in C# [or maybe i can post you some, or simply take a look on System.DirectoryServices namespace] ... some code which you've got to do is to obtain all info about users and/or groups and put it to your membership db. These 'DirectoryServices' then you can always use for password checking, etc. mail me if you need further assistance :)

      VirtualVoid**.NET**

      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