Gets the user info.
string A user name and, optionally, scheme-specific information about how to gain authorization to access the server
public function getUserInfo() {
$userinfo = $this
->getUser();
$pass = $this
->getPassword();
if ('' != $pass) {
$userinfo .= ":{$pass}";
}
return $userinfo;
}