MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

Programmatically search user profiles in MOSS

  Asked By: Roxanne Horton         Date: Feb 03, 2009      Category: MOSS      Views: 340
 

There is a custom profile property such as EmployeeID defined. With
the EmployeeID value known, how can I get the corresponding
userprofile object? I am using the brutal force of looping all the
profiles to check for a match such as
profile["EmployeeID"].value.tostring() == xyz. This is not efficient
of course.

There must be better ways doing this.

Any suggestions or code snippet will be greatly appreciated.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:            

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Programmatically search user profiles in MOSS Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].