I'm currently designing a simple log-in and chat application in Angular.
in Order to complete step 2 of a users log-in process, the API requires that I Provide a certain user ID.
This user ID is located in a local file on the users PC, more specifically in C:\Users\name\AppData\Roaming\appfolder
(its a .dat file.)
I need to locate that file and read it's contents. I also do not want to prompt the user to do this themselves, this should happen "in the background"
how can I do this in AngularTs?
I looked at this question Angular 2 / Angular 4 : How can i access file from the local system location? but I'm not sure I'm on the right track as I don't want to retrieve any files from the server.
any help would be appreciated!!