title: ASP.NET MVC Get a list of users with particular profile properties
body: <p>I'm using ASP.NET MVC 1 and I have added a custom Profile class using the WebProfile Builder VS add-in (found here: <a href="http://code.msdn.microsoft.com/WebProfileBuilder/Release/ProjectReleases.aspx?ReleaseId=980" rel="noreferrer">http://code.msdn.microsoft.com/WebProfileBuilder/Release/ProjectReleases.aspx?ReleaseId=980</a>).</p>
  
  <p>On one of my forms I want a drop-down list of all users who share a specific profile value in common.</p>
  
  <p>I can see that I can get a list of all users using:</p>
  
  <pre><code>Membership.GetAllUsers()
  </code></pre>
  
  <p>However I cannot see how to get all users who have a specific profile value, which in my case is CellId.</p>
  
  <p>Am I approaching this in the right way?  I have used membership roles to define which users are administrators etc, but profiles seems like the right place to group users.</p>
  
  <p>Any pointers both in specifics of how to access the user list but also comments on whether am I pursuing the right avenue here would be greatly appreciated.</p>
  
  <p>Many thanks,
  Sam</p>