AddEmployeeToAccount(String,String) Method
Username of the Account team member .
Identifier of the Account the Employee is being added to .
Add an Employee as a team member to an Account with a specified role. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function AddEmployeeToAccount( _
ByVal _userName_ As String, _
ByVal _accountIDNum_ As String _
) As ToolkitResult
public ToolkitResult AddEmployeeToAccount(
string _userName_,
string _accountIDNum_
)
Parameters
userName
Username of the Account team member .
accountIDNum
Identifier of the Account the Employee is being added to .
Return Value
The following values are populated in the ToolkitResult object returned by the API method:
- Objid - Objid of the Employee Role that is created to link the Employee to the Account.
Remarks
If no RoleName is specified then the default role name is used.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
InterfacesToolkit Class
InterfacesToolkit Members
Overload List