cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

how to create user by using mashup field add user in thingworx user list and in user group

RM12
13-Aquamarine

how to create user by using mashup field add user in thingworx user list and in user group

Hello,

         I have to create multiple user by using mashup field  and save that user in thingworx user list  and in particular user group. 

Can Someone please let me know the update for the same.

 

Thanks in advance,

Riya

 

 

Capture.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
rjanardan
16-Pearl
(To:RM12)

In Service creation page, you will find a snippet for CreateUser under EntityServices. You could call this upon button click to create a user and use this article to add the user to the required usergroup. 

View solution in original post

3 REPLIES 3
rjanardan
16-Pearl
(To:RM12)

In Service creation page, you will find a snippet for CreateUser under EntityServices. You could call this upon button click to create a user and use this article to add the user to the required usergroup. 

RM12
13-Aquamarine
(To:rjanardan)

Thanks for your response

 

I have a similar doubt, 

How do I assign project to user through a ThingWorx service?

rjanardan
16-Pearl
(To:RM12)

You can use SetProjectName service as below:

 

 Users["MyUser"].SetProjectName({
    projectName: "MyProjectName" /* PROJECTNAME */
});

Top Tags