API Reference

Users.regenerateCode


Syntax

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

Arguments

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
uidintOptional0ID of the user.
phonestringOptional0number of the user.
emailmixedOptional''
usernamestringOptional''username of the user.
sendEmailintOptional0ID of the email template to use, if 0 no email will be sent
sendSMSboolOptionalfalseWhether 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