MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Programmatically search user profiles in MOSS

  Asked By: Roxanne    Date: Feb 03    Category: MOSS    Views: 1787

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.



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.