IThat Helper appears to be for managing groups in general as opposed to a users group, and does it require loading another helper? I have not used it before.
I'm looking to replace any current group assignment for this user with "registered" and set the block status to 0. It seems to me this would be updating the user, correct?
You did lead me to take another look at the API and perhaps this is my answer in the User class (I think I was looking for other methods and did not examine save more closely):
I'm looking to replace any current group assignment for this user with "registered" and set the block status to 0. It seems to me this would be updating the user, correct?
You did lead me to take another look at the API and perhaps this is my answer in the User class (I think I was looking for other methods and did not examine save more closely):
save
Method to save the User object to the database
save( updateOnly = false) :
Statistics: Posted by neo314 — Sun Feb 25, 2024 6:45 pm