ballerina.user package
public function getCountry ( ) ( 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 ( ) ( 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 ( ) ( 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 ( ) ( Locale )
Returns the current user's locale.
Return Variable | Data Type | Description |
---|---|---|
Locale | Current user's locale |
public function getName ( ) ( 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 |