SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have FBA on SP2010.

I need a search box on http://mysite/_layouts/FBA/Management/UsersDisp.aspx

It's very cumbersome to find one particular user in 1000+ database.

Can someone please help me out on this?

share|improve this question
up vote 2 down vote accepted

You need to use you own masterpage in the MySites for this, which has the search box on it. This could be done using featurestapling and a featurereceiver. Just make a copy of the default myysite.master and deploy it in your own feature, then set it as the site's master using a featurereceiver:

Site scoped feature:

public override void FeatureActivated(SPFeatureReceiverProperties properties)
  if (properties == null)
    throw new ArgumentNullException("properties");
  using(var site= (SPSite) properties.Feature.Parent)
    site.RootWeb.CustomMasterUrl = web.CustomMasterUrl.Replace("mysite.master", "custom.master");
share|improve this answer
thanks! will apply your sol. – neo269 May 24 '11 at 13:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.