Hi guys,
Trying to update a users profile within a widget, I call '$core_v2_user.Create' which creates the user, how do I then Update the created user's profile fields? Not sure if Im using the $core_v2_widget syntax properly:
##set($userResponse = $core_v2_user.Update(options)) - Not updating
#set($userResponse = $userResponse.Update(options)) - Not updating
How do I tell the 'Update' method which user to update?
Cheers
## Call Create User
#set($userResponse = $core_v2_user.Create($username, $password, $email))
##set($userResonse.EnableCommentNotifications = false)
##set($userResponse = $core_v2_user.Update(options))
#set($userResponse = $userResponse.Update(options))
##$core_v2_widget.ExecuteFile('UserSaved.vm')