Availability
This routine is available starting with Power Scripts™ 4.6.0.
Syntax
removeCustomerFromOrganization(customer, organization)
Description
Removes a customer or a list of customers from a specified organization.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
customer | String[] | Yes | The customers' username. |
organization | String | Yes | The organization name. |
Return type
boolean
Returns "true" if the operation succeeded.
Example
return removeCustomerFromOrganization({"customer1@email.com", "customer2@email.com"}, "My Organization");
See also