09.07.2015 Views

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Management functionsSMS_GetAccountInfomechanism: by referencePointer to a character string storing the user identification (username) (on Unixand Windows the string ends by a null character, on OpenVMS the string ispassed by descriptor).*userPasswordVMS Usage: pointeurtype: pointer to character stringaccess: read onlymechanism: by referencePointer to a character string storing the user password (on Unix and Windowsthe string ends by a null character, on OpenVMS the string is passed bydescriptor).*userAccountStructureVMS Usage: pointertype: pointer to structureaccess: write onlymechanism: by referencePointer to a UserAccountStructure type structure receiving the user accountcharacteristics.DESCRIPTIONThis function returns the detailed information concerning an account.A non-privileged account may read its own account status. A privilegedaccount granted the "group management" privilege may obtain the detailedinformation for all subaccount depending of its master company account.RETURNVALUESSMSNormalSMSNoPrivilegeSMSInvalidLoginInfoSMSInvalidUseridSMSErrorSMSLinkLostSMSNoVideosmsSMSInvalidParameterUser account found and data returned.the access rights of the caller account do not allow toaccess this account.Either companyId or password are invalid,authentication rejected.the specified userId is invalid.an unspecified error occurred.the link to the MCTEL SMS Gateway has been lost.VIDEOSMS is not installed on this system.one of the specified parameter is invalid.EXAMPLESExample8–5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!