[Vtigercrm-developers] get list of all users

Alan Lord alanslists at gmail.com
Mon May 11 12:51:35 GMT 2015


On 11/05/15 13:27, lucia digirolamo wrote:
>
> My question: how can I have the list of users?
>

Assuming you are talking about vtiger 6 how about

/**
  * Static Function to get the instance of all the User Record models
  * @return <Array> - List of *Users_Record_Model* instances
  */
public static function getAll($onlyActive=true) {...



Alan





More information about the vtigercrm-developers mailing list