getCurrentAccessAccount() 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 information about the current account accessing the system

Syntax

  • AeAccessAccount = XMLBridge.getCurrentAccessAccount();

Parameters

  • None

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
try
{
TAeAccessAccount acct = ws.getCurrentAccessAccount();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
Try
Dim acct As TAeAccessAccount = ws.getCurrentAccessAccount()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • An access account allows you to log into Attendance on Demand and accesses client data
  • Account returned executing the method will not display the password value

Possible Errors

  • None

accessAccountCodeExists
addAccessAccount
addAccessAccountWorkgroupAccessRightByAccountCode
editAccessAccount
getAccessAccounts
getAccessAccountViaAccountCode
getAccessAccountViaUniqueID
getAccessAccountWorkgroupAccessRightsByAccountCode
getEmptyAccessAccount
loadAccessAccountActivitysInRange
removeAccessAccount
removeAccessAccountAllWorkgroupAccessRightsByAccountCode

Back to Top