public function UserSingleBase::getUsername

8.0.x UserSingleBase.php public UserSingleBase::getUsername()
7.x UserSingleBase.php public UserSingleBase::getUsername()
master UserSingleBase.php public UserSingleBase::getUsername()

Get a user's name.

Return value

string

1 method overrides UserSingleBase::getUsername()
UserSingle7::getUsername in lib/Drush/User/UserSingle7.php
Get a user's name.

File

lib/Drush/User/UserSingleBase.php, line 122

Namespace

Drush\User

Class

UserSingleBase

Code

public function getUsername() {
  return $this->account->getUsername();
}