Hi, I am developing a app for clover that creates a custom tender, but some configurations are defined within the initialisation of that app. Is it possible to make that app only accessible by the admin?
Hi Martins,
I've been using Employee object with EmployeeConnector like so...
1) Connect EmployeeConnector
employeeConnector = new EmployeeConnector(this, account, null);
employeeConnector.connect();
2) Fetch Employee object
employee = employeeConnector.getEmployee();
3) Check the role of Employee object matches a specific AccountRole.
if (employee.getRole().equals(AccountRole.ADMIN))
{
//do something
}
else
{
//exit app
1 Person is following this question.