For this project, we were looking for ways to give General Managers access to their store’s email account on their mobile devices. The issue with that is that we use a single sign on system, and they don’t typically see their own passwords. So, to accomplish this, we had to create and modify a couple of pieces: allow our current rotation tool to also remove devices from Exchange (to account for manager termination) and a desktop app for the office computer that would allow them to retrieve the password, and trigger the rotation, based on their class in Micros RES (which we use to differentiate between an employee, a manager and an area supervisor). For my part in this, I wrote the desktop app.

The app itself is a pretty straightforward Windows Forms C# app. The main challenge was authenticating the user. To do so, we requested the PC App ID of the user, and compared it to the Micros Database to see if the user was a Viewer (who could only view the password), or a Rotator (who could view the password and trigger a rotation). These jobs were then added to a settings string so that they could be customized later. For instance, we started out letting shift leaders access the viewer role, and changed out minds later. All I had to do was remove their job code from the viewer setting.

I feel like this was a good project to demonstrate the potential for C# apps to interact with Micros RES, and served as a good introduction to my role as a Programmer Analyst (as this was my first project).

Leave a comment