AssignLead(Int32,String) Method
The objid of the lead being assigned.
The new user which the lead is assigned to.
Assign the Lead to a new user. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function AssignLead( _
ByVal _leadObjid_ As Integer, _
ByVal _newOwner_ As String _
) As ToolkitResult
public ToolkitResult AssignLead(
int _leadObjid_,
string _newOwner_
)
Parameters
leadObjid
The objid of the lead being assigned.
newOwner
The new user which the lead is assigned to.
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The Lead must be in the Open condition, and the user assigning the Lead does not have to be the owner of the Lead. In base Clarify, the assigner of a Lead must be the owner. If either user name is not specified, the “current” user is used. The date/time of the assignment, and the WipBin to place the Lead in can also be specified. Allowing a WipBin other than the default one is also an augmentation from base Clarify.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family