getEmpESSPreAuthLoginURL() Method

Table of Contents

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

Function

  • Returns a URL that can be directly used within an ESS IFRAME single sign on session

Syntax

  • string = AeXMLBridge.getEmpESSPreAuthLoginURL(AeESSSPreAuthPackage);

Parameters

Return Value

  • Returns a string containing a navigation URL (that can be used as the src value of an IFRAME element)

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
TAeESSPreAuthPackage pkg = new TAeESSPreAuthPackage();
pkg.empID = "1234";
// must supply either EmpID or Filekey

try
{
string url = ws.getEmpESSPreAuthLoginURL(pkg);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
9
10
Dim pkg As New TAeESSPreAuthPackage()

pkg.empID = "1234"
' must supply either EmpID or Filekey

Try
Dim url As String = ws.getEmpESSPreAuthLoginURL(pkg)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • Invalid Employee Filekey
  • Invalid Emp ID

extractEmployeeSelfServiceOperationsByIDNum

Back to Top