AccountInfoInteger
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 12:58 PM

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 type ENUM_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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions