| Interface | osid.profile.ProfileQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among   Profiles may have a profile record indicated by their 
                respective record types. The profile record is accessed via 
                the   | ||
| Method | canSearchProfiles | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if search methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileQuery | ||
| Description | 
                     Gets a profile query.  | ||
| Return | osid.profile.ProfileQuery | a profile query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfilesByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.profile.ProfileQuery | profileQuery | the profile query | 
| Return | osid.profile.ProfileList | the returned  ProfileList   | |
| Errors | NULL_ARGUMENT |  profileQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  profileQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |