users.sendVerificationCode

Syntax

bool users.sendVerificationCode ( int vhost, string phone = '', int countryCode = 1, string email = '', int uid = 0, mixed emailTemplate = 0 )

Argument Info

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
phonestringOptional''Phone number of the user, numeric only
countryCodeintOptional1country code of the user, numeric only
emailstringOptional''E-mail address of the user
uidintOptional0
emailTemplatemixedOptional0Template ID to be used

Return Values

FieldDescriptionPossible Values
@param int $vhost ID of the application that the media is in.aN/A
@param int $phone Phone number of the user, numeric onlyaN/A
@param int $countryCode country code of the user, numeric onlyaN/A
@param string $email E-mail address of the useraN/A
@param int $emailTemplate Template ID to be usedaN/A
@return boolaN/A