users.activateUser

Syntax

array users.activateUser ( int vhost, int uid, string verificationCode, bool returnUserInfo = 0 )

Argument Info

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
uidintRequirednoneID of the user.
verificationCodestringRequirednoneThe one time SMS or Email code the user received from regenerateCode - mandatory if previousPassword is non existant
returnUserInfoboolOptional0If this parameter is true it will return user info in an array as listed below

Return Values

FieldDescriptionPossible Values