public function search($username, $startAt = null, $maxResults = null, $includeActive = null, $includeInactive = null)
    {
        $parameters = array(
            'username' => $username,
            'startAt' => $startAt,
            'maxResults' => $maxResults,
            'includeActive' => $includeActive,
            'includeInactive' => $includeInactive
        );
        return $this->apiClient->callEndpoint(sprintf('%s/search', self::ENDPOINT), $parameters);
    }
public function search($username, $startAt = null, $maxResults = null, $includeActive = null, $includeInactive = null)
    {
        $parameters = array(
            'username' => $username,
            'startAt' => $startAt,
            'maxResults' => $maxResults,
            'includeActive' => $includeActive,
            'includeInactive' => $includeInactive
        );
        return $this->apiClient->callEndpoint(sprintf('%s/search', self::ENDPOINT), $parameters);
    }
public function search ( $ username , $ startAt = null , $ maxResults = null , $ includeActive = null , $ includeInactive = null ) { $ parameters = array ( 'username' => $ username , 'startAt' => $ startAt , 'maxResults' => $ maxResults , 'includeActive' => $ includeActive , 'includeInactive' => $ includeInactive ) ; return $ this -> apiClient -> callEndpoint ( sprintf ( '%s/search' , self :: ENDPOINT ) , $ parameters ) ; }
Returns a list of users that match the search string. This resource cannot be accessed anonymously.

@param $username
@param int $startAt
@param int $maxResults
@param bool $includeActive
@param bool $includeInactive
@return mixed
Returns a list of users that match the search string . This resource cannot be accessed anonymously .