You are not logged in.
Hello everyone, I’m having trouble creating a new user in GLPI and associating them with a specific entity. Could someone guide me through the steps required to set this up correctly? Thank you in advance for your help!
{
"input": {
"name": "createmailuser@teste44.com",
"realname": "Curupira44",
"firstname": "",
"password": "teste123",
"password2": "teste123",
"email": "createmailuser@teste44.com",
"mobile": "559976787890",
"entities": [
0,
1
]
}
This code creates the user in the root entity, I want to create it in another specific entity.
Offline
Users have no entities on their own. You need to create the user and then assign profiles (Profile_User itemtype) to them for the correct entities. You probably have an Authorization Assignment Rule which gives all new users the Self-Service profile in the Root Entity (included by default in GLPI).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Sure, could you help me update the user entity through the REST API?
Offline