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

SyncOne


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

Table 41. SyncOne Parameters
Input
Description
Examples
Optional
Default

AcAdminLogin

Actuate Administrator Login.

administrator

No

None

AcAdminPassword

Actuate Administrator Password.

""

No

None

FailureNoticeExpiration

Expiration time in minutes for failure notices.

 

Yes

0

SendNoticeForFailure

Indicates if notices must be generated for failed jobs.

 

Yes

FALSE

SendNoticeForSuccess

Indicates if notices must be generated for successful jobs.

 

Yes

FALSE

SuccessNoticeExpiration

Expiration time in minutes for success notices.

 

Yes

0

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:

  • 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 Framework: Workflow Guide on the Siebel Bookshelf.

Siebel Reports Administration Guide Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices.