getEmployeeDetail2BySSN() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Preferred Method
  9. Alternate Methods
  10. Related Methods

Function

  • Returns detail2 level information about the selected employee

Syntax

  • AeEmployeeDetail2 = AeXMLBridge.getEmployeeDetail2BySSN(SSN);

Parameters

  • String - employee social security number(SSN)

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
string ssn = "123-45-6789";                                                          
// using employee with SSN# 123-45-6789

try
{
TAeEmployeeDetail2 empDetail2 = ws.getEmployeeDetail2BySSN(SSN);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim ssn As String = "123-45-6789"
' using employee with ssn# 123-45-6789

Try
Dim empDetail2 As TAeEmployeeDetail2 = ws.getEmployeeDetail2BySSN(SSN))
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • No employee with ssn number found

Preferred Method

getEmployeeDetail2ByIDNum

Alternate Methods

getEmployeeDetail2ByBadge
getEmployeeDetail2ByFilekey

getEmployeesListDetail2FromHyperQuery
getEmployeesListDetail2FromHyperQueryWorkgroupFilter
getEmployeesSearchListDetail2
getEmptyEmployeeDetail2

Back to Top