PADomainUtils - copy(String runAs)
Copies Performance Analytics records to a different domain.
To copy dashboards or scheduled jobs, see copyDashboard and copyJob.
| Name | Type | Description |
|---|---|---|
| runAs | String | User whose domain you want to copy records to. |
| Type | Description |
|---|---|
| void |
// copy all the Performance Analytics records from global to user's domain
var pa = new SNC.PADomainUtils();
pa.copy('09ff3d105f231000b12e3572f2b4775d');