Click or drag to resize

ConneXionFindEmployee Method

Finds the Employee.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindEmployee(
	ref Employee oEmployee
)

Parameters

oEmployee
Type: ConneXionEmployee
Employee object to Find

Return Value

Type: ConneXionResult
ConneXionResult.
Remarks

Required Fields

  • TAMUserName
  • TAMPassword
  • TAMCentralAgency - only if agency is on AppliedOnline
  • LicenseKey - only if agency is an Agency of Vendor
  • EntityID
Examples
VB
Dim oConneXion As New ConneXion.ConneXion
Dim oEmployee As New ConneXion.Employee
Dim oResult As ConneXion.ConneXionResult

oEmployee.TAMUserName = "EXEC"
oEmployee.TAMPassword = "PSWD"
oEmployee.EntityID = "FRANJE1"

oResult = oConneXion.FindEmployee(oEmployee)

If oResult.Success = True Then
    MessageBox.Show("Find Employee is successful")
    txtResult.Text = oResult.Description
Else
    txtResult.Text = "Find Employee is false" & vbCrLf & "Number: " & oResult.Number & vbCrLf & "Desc: " &
    oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription
End If
See Also