Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have to create/add Organization programatically. Is that possible to add so.
Solved! Go to Solution.
HI, the following service would create an Organizatio with a Parent and a child unit:
var par = {
topOUName: Parent /* STRING */,
name: Parent /* STRING */,
};
// no return
Resources["EntityServices"].CreateOrganization(par);
var params = {
name: Child /* STRING */,
parentName: Parent/* STRING */
};
// no return
Organizations[Parent].AddOrganizationalUnit(params);
Yup
Resources["EntityServices"].CreateOrganization
HI, the following service would create an Organizatio with a Parent and a child unit:
var par = {
topOUName: Parent /* STRING */,
name: Parent /* STRING */,
};
// no return
Resources["EntityServices"].CreateOrganization(par);
var params = {
name: Child /* STRING */,
parentName: Parent/* STRING */
};
// no return
Organizations[Parent].AddOrganizationalUnit(params);
Thanks