/** * @brief check if a user exists * @param string $uid the username * @return boolean */ public static function userExists($uid) { return \OC_USER::userExists($uid); }
/** * @brief check if a user exists * @param string $uid the username * @param string $excludingBackend (default none) * @return boolean */ public static function userExists($uid, $excludingBackend = null) { return \OC_USER::userExists($uid, $excludingBackend); }