You can not set the id - it is automatically generated by storage provider.
You can have different storage providers - it's a pluggable mechanism via
Storage Provider SPI.
Also, there is no 'userid' attribute on UserRepresentation json object (
http://www.keycloak.org/docs-api/3.4/rest-api/index.html#_userrepresentation
).
On Tue, Feb 20, 2018 at 7:13 AM, Subodh Joshi <subodhcjoshi82(a)gmail.com>
wrote:
ANy idea about this?
On Mon, Feb 19, 2018 at 12:32 AM, Subodh Joshi <subodhcjoshi82(a)gmail.com>
wrote:
> After that i tried below command
> * ./kcadm.sh create users -s username=admin123 -s
> id=f544f379-5dc4-49e5-8a8d-5cxb71f46f53 -s enabled=true -r master*
>
> but output of above command
>
>
> *Created new user with id '839ba113-c6dd-4004-83f6-4171aa638bd6'*
> Can someone please let me know what wrong with the above command as well?
>
> On Mon, Feb 19, 2018 at 12:14 AM, Subodh Joshi <subodhcjoshi82(a)gmail.com
>
> wrote:
>
>> Hi
>>
>> I am trying to create a user with user define userid but below command
>> throwing 400 error
>>
>>
>>
>> * ./kcadm.sh create users -s username=admin123 -s
>> userid=f544f379-5dc4-49e5-8a8d-5cxb71f46f53 -s type=password -s
>> value=admin@123 -s enabled=true -srealm=master*
>> Can some one please help me what is wrong with the above command?
>>
>> --
>> Subodh Chandra Joshi
>> <subodh1_joshi82(a)yahoo.co.in>
>>
http://www.questioninmind.com
>>
>
>
>
> --
> Subodh Chandra Joshi
> subodh1_joshi82(a)yahoo.co.in
>
http://www.trendsinnews.com
>
--
Subodh Chandra Joshi
subodh1_joshi82(a)yahoo.co.in
http://www.trendsinnews.com
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user