Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I want to add users, user-groups in an organization using java script service so that I can do it this at my custom mashup for my customer. How can I do this? Appricate a quick help.
Solved! Go to Solution.
Hi Tushar, you can use the existing service AddMember, something like this
var params = {
name: undefined /* STRING */,
member: undefined /* STRING */,
type: undefined /* STRING */
};
// this will add member to the Everyone org
// no return
Organizations["Everyone"].AddMember(params);
Hi Tushar, you can use the existing service AddMember, something like this
var params = {
name: undefined /* STRING */,
member: undefined /* STRING */,
type: undefined /* STRING */
};
// this will add member to the Everyone org
// no return
Organizations["Everyone"].AddMember(params);