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

Afficher le fichier Open project: pcAmerica/CRE-RPE-Client-API-Library Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat Employee

GetCurrentUser() public méthode

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