Programmatically changing a user's group
Permalink
Hi, is there a way to automate changing a user's group? For instance, let's say there are two groups, Customers and Guests. Suppose a customer's subscription is over, I want the user's group changed back to guest in order to restrict access to store content. How can I pull this off? Thanks.
or