question

jc340 avatar image
jc340 asked jc340 answered

How to get current/logged-in user/employee from device?

How do you get the employee currently logged in to the device through programmatically?
Clover MiniApp Market
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image
Jeffrey Blattman answered
EmployeeConnector.getEmployee()
No-arg version gets current employee, or null if there isn't one.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jc340 avatar image
jc340 answered
Hi Jeffrey,

Thanks for replying. Yeah I am getting null but I am logged in with the employee I have set up on my sandbox.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jc340 avatar image
jc340 answered
Hi Jeffrey,

Thanks for replying. Yeah I am getting null but I am logged in with the employee I have set up on my sandbox.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community