API Reference

Users.regenerateCode


Syntax

array users.regenerateCode ( int vhost, int uid = 0, string phone = '', string email = '', string username = '', int|bool sendEmail = 0, int|bool sendSMS = false )

Arguments

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
uidintOptional0ID of the user.
phonestringOptional''number of the user.
emailstringOptional''
usernamestringOptional''username of the user.
sendEmailint|boolOptional0ID of the email template to use, if 0 no email will be sent
sendSMSint|boolOptionalfalseWhether or not to send an sms messge to activate the user that is used in the registration call. When true an sms message is sent to the phone number provided in the array.

Sample Response

Code examples

0 comments

Be the first to comment on regenerateCode.

Add a Comment

  • captcha