Hi!
We are about to switch our existing CMS to Drupal. We want to show some sections of our web site to particular groups of users. For example: customers who bought product A, are shown with section A of our product page only. etc..
I know already that it might be done with 'roles'. However, we want to be able to set/change them (roles) via API (actually our internal CMR will do it).
Therefore, I would like to ask if it's possible:
a) to get/change/reset user password via Drupal API?
b) set/change user's role via Drupal API?
Many thanks!