C# Class pcAmerica.DesktopPOS.API.Client.EmployeeAPI

Exibir arquivo Open project: pcAmerica/CRE-RPE-Client-API-Library Class Usage Examples

Public Methods

Method Description
AuthenticateEmployee ( string userName, string password ) : Employee

Verifies that an employee's credentials are valid. Use this method to validate the login to your own program.

GetCurrentUser ( ) : Employee

Returns the employee that's currently logged into the server POS workstation

Method Details

AuthenticateEmployee() public method

Verifies that an employee's credentials are valid. Use this method to validate the login to your own program.
public AuthenticateEmployee ( string userName, string password ) : Employee
userName string The employee's username
password string The employee's password
return Employee

GetCurrentUser() public method

Returns the employee that's currently logged into the server POS workstation
public GetCurrentUser ( ) : Employee
return Employee