Deprecated: YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /var/www/wp-documentation/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php on line 60
Legacy - New Spark Documentation | UGC Platform, API & Integration Guides

users.activateUser

Syntax

array users.activateUser ( int vhost, int uid, string verificationCode, int|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
returnUserInfoint|boolOptional0If this parameter is true it will return user info in an array as listed below

Return Values

FieldDescriptionPossible Values