/
addCustomerToOrganization

addCustomerToOrganization

Availability

This routine is available starting with Power Scripts™ 4.6.0.

Syntax

addCustomerToOrganization(customer, organization)

Description

Adds an existing customer or a list of customers to a specified organization.

Parameters

Parameter name

Type

Required

Description

customerString[]YesThe customers' username.

organization

String

Yes

The organization name.

Return type

boolean

Returns "true" if the operation succeeded.

Example

Example 1

return addCustomerToOrganization({"customer1","customer2"}, "My Organization");


Example 2

return addCustomerToOrganization("customer", "My Organization");

See also

Related content

addCustomerToOrganization (Power Scripts)
addCustomerToOrganization (Power Scripts)
More like this
createOrganization
More like this
addCustomerToOrganization
addCustomerToOrganization
More like this
addCustomerToOrganization
addCustomerToOrganization
More like this