Siebel Reports Administration Guide > Report Business Service > About the Report Business Service Parameters >

SyncOne


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

Table 44.  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

SendNoticeForSuccess

Indicates if notices should be generated for successful jobs.

 

Yes

FALSE

SendNoticeForFailure

Indicates if notices should be generated for failed jobs.

 

Yes

FALSE

SuccessNoticeExpiration

Expiration time in minutes for success notices.

 

Yes

0

FailureNoticeExpiration

Expiration time in minutes for failure notices.

 

Yes

0

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:

  • The user is created.
  • The user's password is reset.
  • The script fails.

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 Using Siebel Tools and in Siebel Business Process Designer Administration Guide on the Siebel Bookshelf.

Siebel Reports Administration Guide