Syntax
Public Function AccountInfoInteger(propertyID As ENUM_ACCOUNT_INFO_INTEGER) As Long
Description
This function is used to return the account information for a selected account according to a given property ID.
Parameters
Key | Description |
propertyID | The account information to get it value, a value of typeENUM_ACCOUNT_INFO_INTEGER. |
Return value
Returns an integer value of the corresponding account property, otherwise return -1, In order to get an error, call GetLastError() function.
Sample
Public Sub main()AlertMessage AccountInfoInteger(ACCOUNT_LOGIN) 'Returns a string with the selected logged in account'If account is neither selected and logged in -1 is returned End Sub
See Also