users.validateCode

Syntax

mixed users.validateCode ( int vhost, int uid = 0, string phone = '', string email = '', string username = '', string verificationCode = NULL )

Argument Info

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
uidintOptional0ID of the user.
phonestringOptional''number of the user.
emailstringOptional''address of the user.
usernamestringOptional''username of the user.
verificationCodestringOptionalNULLThe previously generated code, sent to user via email or sms

Return Values

FieldDescriptionPossible Values