PADomainUtils - copy(String runAs)

Copy Performance Analytics configuration records to a different domain.

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

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

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