user package

public function getCountry() returns (string)

Returns the current user's country.

Return Variable Data Type Description
string Current user's country if it can be determined, an empty string otherwise

public function getHome() returns (string)

Returns the current user's home directory path.

Return Variable Data Type Description
string Current user's home directory if it can be determined, an empty string otherwise

public function getLanguage() returns (string)

Returns the current user's language.

Return Variable Data Type Description
string Current user's language if it can be determined, an empty string otherwise

public function getLocale() returns (Locale)

Returns the current user's locale.

Return Variable Data Type Description
Locale Current user's locale

public function getName() returns (string)

Returns the current user's name.

Return Variable Data Type Description
string Current user's name if it can be determined, an empty string otherwise