copyUserAgent

Description

Copies a user agent to another user agent. You must call setupUserMemory before calling this method. You can copy agents only to your current user name.

Syntax

public int copyUserAgent(String sourceUser,
	String sourceAgent,
	String destUser,
	String destAgent) throws RemoteException, SearchException

Parameters

sourceUser – name of a source user

sourceAgent – name of a user agent to be copied

destUser – name of a destination user; must match your current user name

destAgent – name of a destination user agent

Return value

Returns a status of: 0 if failure; otherwise, successful.