getEmployeeESSEMailByFilekey() 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. Related Methods

Function

  • Returns an employee’s ESS email address

Syntax

  • String = AeXMLBridge.getEmployeeESSEMailByFilekey(filekey);

Parameters

  • Integer - employee filekey

Return Value

  • Returns a string containing the employee’s ESS email address

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
int filekey = 1234;  
// using employee with filekey "1234"

try
{
string email = ws.getEmployeeESSEMailByFilekey(filekey);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim empID As Integer = 1234
' using employee with filekey "1234"

Try
Dim email As String = ws.getEmployeeESSEMailByFilekey(filekey)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • Will return an empty string if employee does not have an email address on file

Possible Errors

  • Unable to locate employee with filekey

Preferred Method

getEmployeeESSEMailByIDNum

extractEmployeeRatePayTypeAssignmentByFilekey
extractEmployeeSelfServiceOperationsByFilekey
getEmployeeBasicByIDNum
getEmployeeDetail2ByFilekey
getEmployeeDetailByIDNum
getEmployeeESSEmailByFilekey
getEmployeeESSPINByFilekey
getEmployeesSearchListDetail
getEmployeeTransferRatesByFilekey
getEmployeeTZObservesDSTByFilekey
getEmployeeTZOffsetByFilekey
maintainEmployeeBasic
maintainEmployeeDetail
removeEmployeeRateHistoryByFilekey
setEmployeeBasic
setEmployeeDetail2
setEmployeeESSEmailByIDNum
setEmployeeESSPINByIDNum
setEmployeeTZByIDNum
setManuallySelectedEmployeeData

Back to Top