Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi TWX Community,
I'm developing application that use Thingworx in specific case as follow, but have no idea how to do it. I would like to assign user permissions for different user type in External application. For example, I created Smart Home Application on Android, there is Parents, as well as children. The parents can control all the devices but the children can control only their room.
You know that,
- I can use application key to call Thingworx API, I cannot use multiple keys which each key for each individual application instance, it would be not good option.
It seem that, this is limitation of Thingworx?
Please advice,
Thanks in advance,
Best,
L
Hi Luyen CHU,
In ThingWorx, you can create two user groups{Parent, Children}. Add the users to the group as follows:
Now assign the permissions to the group as a whole.
The users in the ThingWorxTraining group will have all the assigned permissions and they can view/edit properties of only this thing. Please let us know if this is the scenario you are trying to implement.
Thanks for your response. I highly appreciate it.
Could you tell how do you implement authentication in android application? The user in android application must be Thingworx User?