Siebel Reports Administration Guide > Report Business Service > Report Business Service Input Parameters >

SyncOne


Table 37 contains the input parameters for the SyncOne business method.

Table 37.  SyncOne Parameters  
Input
Description
Examples
Optional
Default
AcAdminLogin
Actuate Administrator Login.
administrator
No
None
AcAdminPassword
Actuate Administrator Password.
""
No
None
UserID
User to be synchronized.
SADMIN
No
None

Following is an example script for the SyncOne business method. When this script is run, you are returned feedback in the variable sText.

In the script below, SyncOne is executed on users VSILVER and DRA three times while storing the user feedback messages in the variable msg. You can consult msg on the status of the SyncOne request.

In this example, the script reflects three possible outcomes:

These outcomes are indicated in msg.

.....

var svc = TheApplication().GetService("Report Business Service");

var Inputs = TheApplication().NewPropertySet();

var Outputs = TheApplication().NewPropertySet();

var msg = "";

for(var x = 1; x < 3; x++) {

with (Inputs) {

SetProperty ("AcAdminLogin", "administrator");

SetProperty ("AcAdminPassword", "");

SetProperty ("UserID", "VSILVER,DRA");

}

try {

svc.InvokeMethod ("SyncOne", Inputs, ExtOutputs);

}

catch (e)

{

var sText = e.errText;

var nCode = e.errCode;

msg += sText;

}

}

.....

For information on enabling these business methods, see information on object interfaces and scripting on Siebel Tools Online Help and in Siebel Business Process Designer Administration Guide on the Siebel Bookshelf.


 Siebel Reports Administration Guide, Version 7.5, Rev B 
 Published: 18 April 2003