[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1357
  • Last Modified:

Searchable properties in sharepoint 2010 user profile manager

SharePoint 2010,
In user profile manager , search method accepts either string or string [] , and this method searches in the following searchable properties ( FirstName', 'LastName', 'PreferredName', 'UserName', 'Office', 'Title', 'Department', 'WorkEmail', 'SPS-SipAddress', and 'AccountName').
1-How can I limit the search to search only one in one property such as office only?
2-How can I search for custom property which is not in the above searchable properties?
3-How can I retrieve only active users?
4-Is it possible to map a new attribute in active directory (this attribute was not before and it was added to schema) with user profile manager?
0
suhaib79
Asked:
suhaib79
  • 4
  • 3
1 Solution
 
Justin SmithSr. System EngineerCommented:
When you say User Profile Manager, are you talking about the "manage user profiles" link in Central Admin?

1 - You could try to search for "OFFICE: _____"
2 - If it's already a mapped property, you could try searching for "PROPERTYNAME:______"
3 - What do you mean by active?
4 - Yes, but it's under "Manage User Properties" in Central Admin, not manage user profiles.
0
 
suhaib79Author Commented:
i mean with active user , user which is not disabled in Active Directory
0
 
Justin SmithSr. System EngineerCommented:
You can set an import filter to only import users that aren't disabled.  Then you wouldn't have to worry about only searching for active.

This is done by adding a filter to your import connection, set it to "bit on = 2"
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
suhaib79Author Commented:
regarding search:
I tried
ProfileBase[] userProfiles = upm.Search("PreferredName:"+serchParam);
and it always return 0 results
any idea?
0
 
Justin SmithSr. System EngineerCommented:
Are you doing this through code?
0
 
suhaib79Author Commented:
0
 
suhaib79Author Commented:
any help?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now