Copies Performance Analytics records to a different domain.

To copy dashboards or scheduled jobs, see copyDashboard and copyJob.

Table 1. Parameters
Name Type Description
runAs String User whose domain you want to copy records to.
Table 2. Returns
Type Description
void

Example

// copy all the Performance Analytics records from global to user's domain
var pa = new SNC.PADomainUtils();
pa.copy('09ff3d105f231000b12e3572f2b4775d');