3. The method of claim 1 , wherein the database is a database for a customer relations management system.
1. A method on a back-end computer system for building user interfaces for performing custom searches of a database, where access to the database is restricted based on a role for a user comprising: responsive to receiving at a front-end computer system a name identifying a search definition and the role of the user: determining on the back-end computer system a target database using the name; retrieving result fields from the target database using the name; restricting result fields based on the role of the user, building a search parameter user interface at the back-end computer system for entering values for search parameters, wherein the search parameters are result fields accessible based on the role of the user, transmitting the search parameter user interface to the front-end computer system of the user, receiving the values for the search parameters from the front-end computer system on the back-end computer system, querying the target database using the received values for the search parameters, receiving values for the result fields, building a results user interface at the back-end computer system for viewing the values for the result fields, transmitting the results user interface to the front-end computer system, providing a user interface for the user to define the search parameters, the result fields, and the name of the custom search, and storing the search parameters and result fields indexed by the name for the custom search.