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. Excluding a subdomain from the people picker results

Excluding a subdomain from the people picker results

Scheduled Pinned Locked Moved SharePoint
sharepointdatabasequestioncareerworkspace
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.
  • J Offline
    J Offline
    joao miguel soares
    wrote on last edited by
    #1

    So we have a SharePoint farm that is upon an AD forest, that forest is linked to other forests in a two-way trust. Then, we have the people picker that is working quite fine and finding every user we try to find, regardless of what domain the user is on. Now, I need to configure the people picker to find all users from current and future domains in the entirity of the relations BUT one of them. So, it must be a configuration where regardless of what domains, OUs, new or old 2-way trusts are configured, the people picker will find users for all domains BUT one of them. I've tried to search for an LDAP query that'd do the job to feed to

    peoplepicker-searchadcustomfilter

    however could not find it or build it myself. Our AD expert could not get to it too. I'd rather not use

    Peoplepicker-searchadforests

    because later on when they'd add a new domain, someone would have to remember that the people picker needed some configuration. I might be far away when that happens and someone would have to crack his head to find it. So, from an LDAP Query standpoint, what'd you suggest? Much appreciated.

    I 1 Reply Last reply
    0
    • J joao miguel soares

      So we have a SharePoint farm that is upon an AD forest, that forest is linked to other forests in a two-way trust. Then, we have the people picker that is working quite fine and finding every user we try to find, regardless of what domain the user is on. Now, I need to configure the people picker to find all users from current and future domains in the entirity of the relations BUT one of them. So, it must be a configuration where regardless of what domains, OUs, new or old 2-way trusts are configured, the people picker will find users for all domains BUT one of them. I've tried to search for an LDAP query that'd do the job to feed to

      peoplepicker-searchadcustomfilter

      however could not find it or build it myself. Our AD expert could not get to it too. I'd rather not use

      Peoplepicker-searchadforests

      because later on when they'd add a new domain, someone would have to remember that the people picker needed some configuration. I might be far away when that happens and someone would have to crack his head to find it. So, from an LDAP Query standpoint, what'd you suggest? Much appreciated.

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      Ok, the question is here for a while and nobody answered so I will do although I just know it theoretically as I didn't done it on my own. 1. Create a SP group in the site with the people picker without any permissions. 2. Add all AD Groups to this SP Group you want to show in the people picker. 3. Set your people picker column settings to "People and Groups" 4. Change the "Choose From" property to "SharePoint Group" and choose the SP Group you created in the list.

      SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

      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