Skip to main content
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
Source Link

I follow this answer How to create user with role(s) through REST service?How to create user with role(s) through REST service?

{"name":"user343","pass":"kes35@r4","mail":"[email protected]","status":"1", "roles":["4"]}

But When I check the created user, It role still is '2' (authenticated user)

I follow this answer How to create user with role(s) through REST service?

{"name":"user343","pass":"kes35@r4","mail":"[email protected]","status":"1", "roles":["4"]}

But When I check the created user, It role still is '2' (authenticated user)

I follow this answer How to create user with role(s) through REST service?

{"name":"user343","pass":"kes35@r4","mail":"[email protected]","status":"1", "roles":["4"]}

But When I check the created user, It role still is '2' (authenticated user)

Source Link
Moon soon
  • 449
  • 5
  • 20

Services can not create an user with role

I follow this answer How to create user with role(s) through REST service?

{"name":"user343","pass":"kes35@r4","mail":"[email protected]","status":"1", "roles":["4"]}

But When I check the created user, It role still is '2' (authenticated user)