Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1273:   //! DEPRECATED COMPATIBILITY FUNCTION   //!   //! Fetches the full list of valid usernames from the authentication   //! module by calling its userlist() method. Returns zero if no auth   //! module was present.   //!   //! Note that you should always supply id if it's possible, some user   //! databases require it (such as the htaccess database)   {    array(string) list = ({}); -  foreach( user_databases(), UserDB m ) +  foreach( user_databases(), UserDB m ) { +  if (!m->list_users) continue;    list |= m->list_users(id); -  +  }    return list;   }      array(string) user_from_uid(int u, RequestID|void id)   //! @note   //! DEPRECATED COMPATIBILITY FUNCTION   //!   //! Return the user data for id u from the authentication module. The   //! id parameter might be left out if FTP. Returns zero if no auth   //! module was present.