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. Sharepoint 2010 User Fields

Sharepoint 2010 User Fields

Scheduled Pinned Locked Moved SharePoint
sharepointquestionworkspace
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.
  • A Offline
    A Offline
    Aptiva Dave
    wrote on last edited by
    #1

    I have a couple of projects where a use a people picker to get users added to a list. In our current domain environment we have two domains: our main domain that is used for user login information and another domain that was created for our erp system that, in my own opinion, needs to go away but hasn't. The erp domain is an exact copy of or main domain except that the user names are different and none of the profiles contain a user's email address. What I would like to do is filter out that erp domain from the people pickers so that users don't select those accounts. Is there a way to do this?

    L 1 Reply Last reply
    0
    • A Aptiva Dave

      I have a couple of projects where a use a people picker to get users added to a list. In our current domain environment we have two domains: our main domain that is used for user login information and another domain that was created for our erp system that, in my own opinion, needs to go away but hasn't. The erp domain is an exact copy of or main domain except that the user names are different and none of the profiles contain a user's email address. What I would like to do is filter out that erp domain from the people pickers so that users don't select those accounts. Is there a way to do this?

      L Offline
      L Offline
      Lin ann
      wrote on last edited by
      #2

      The setsiteuseraccountdirectorypath operation allows the user's directory path to be set to a specific OU in the same domain. After the directory path is set to a site collection, the People Picker control will only search under that particular OU.

      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