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. SharePoint
  4. How to add an active directory OU to a sharepoint site?

How to add an active directory OU to a sharepoint site?

Scheduled Pinned Locked Moved SharePoint
sharepointwindows-admintutorialquestion
2 Posts 2 Posters 2 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.
  • H Offline
    H Offline
    hellboy_83
    wrote on last edited by
    #1

    Hi, I have done a full import of users on my active directory company but only to a specific OU (OU=DSI,DC=*****,DC=CO,DC=MZ) and it fetched over 94 profiles. Only then i'm able to run this command from stsadm to add those imported users to a specific group in sharepoint which works fine. After adding a specific user it pulls all other relevant info from the AD :-O stsadm -o adduser -url url -userlogin DOMAIN\user -useremail email address -role rolename -username displayname But i see a lot of drawbacks on this, so instead of adding one user at a time is there a way of adding the whole OU to my sharepoint site? Regards,

    R 1 Reply Last reply
    0
    • H hellboy_83

      Hi, I have done a full import of users on my active directory company but only to a specific OU (OU=DSI,DC=*****,DC=CO,DC=MZ) and it fetched over 94 profiles. Only then i'm able to run this command from stsadm to add those imported users to a specific group in sharepoint which works fine. After adding a specific user it pulls all other relevant info from the AD :-O stsadm -o adduser -url url -userlogin DOMAIN\user -useremail email address -role rolename -username displayname But i see a lot of drawbacks on this, so instead of adding one user at a time is there a way of adding the whole OU to my sharepoint site? Regards,

      R Offline
      R Offline
      Roll 1
      wrote on last edited by
      #2

      Hello Hope this link will help you out in your query . http://blogs.msdn.com/sumanc/archive/2007/06/28/moss-profile-search-ldap-query-to-remove-disabled-and-service-accounts.aspx Regards

      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