User

In some scenarios you end up creating the accounts. You probably have to create a Group and a User attached.

Example

Listing the valid user of my group


GET
{
	"User":{
		"confirmed":true
	}
}

Example

Creating a new user on sub group (using idExternal).
A note on security : if you create a user, you will not be able to give more right than the ones you have.


PUT
 {
	"User":{           
            "gender":"M",
            "name":"new user",
            "firstname":"Alain",
            "login":"the login",
            "password":"the password in clear",
            "role":"ADMIN",
            "email":"support@adelya.com",
            "actif":1,
            "forwardMessageByEmail":true,
            "group":{
               loadFromKeys: { idExternal: "here the idext of my group"}
            }
        }
}