GetAccountName: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function | This function retrieves the name of an account. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string getAccountName ( account theAccount ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theAccount:''' The account you wish to get the name of | ||
===Returns=== | ===Returns=== | ||
Returns ' | Returns a string containing the account's name, ''false'' if the account does not exist or an invalid argument was passed to the function. | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{ | {{Account_functions}} | ||
[[Category:Needs Example]] |
Revision as of 11:46, 12 September 2006
This function retrieves the name of an account.
Syntax
string getAccountName ( account theAccount )
Required Arguments
- theAccount: The account you wish to get the name of
Returns
Returns a string containing the account's name, false if the account does not exist or an invalid argument was passed to the function.
Example
See Also
- addAccount
- copyAccountData
- getAccount
- getAccountData
- getAccountName
- getAccountPlayer
- getAccountSerial
- getAccounts
- getAccountsBySerial
- getAllAccountData
- getPlayerAccount
- isGuestAccount
- logIn
- logOut
- removeAccount
- setAccountData
- setAccountPassword
- getAccountByID
- getAccountID
- getAccountIP
- getAccountsByData
- getAccountsByIP
- setAccountName