Hello,
I have created an application that has a custom login box which is referencing test data from a SharePoint list for credentials.
These credentials are: User, Pass, and Work Area (A1,A2, etc.)
Once the user enters their User and Pass, the app does a "LookUp" function to ensure the user data matches the SP List. After the match is verified, the app navigates to a loading screen and resets the original login inputs (I'm not sure if it should or should not reset??)
Once at the loading screen a timer automatically begins counting down before sending the user to another screen. This is where I am running into an issue though...
After the app has finished "loading" I would like for the app to redirect (navigate) the user to a specific screen based on the individual's Work Area from the SP List referenced for login. I would like to know how I make the app recognize the User that was logged in from the home screen, and redirect them to a specific screen based on their Work Area?
EX:
The system has two users, Person1 and Person2. Person1 is assigned to Work Area 1 and Person2 is assigned to Work Area 4.
Person1 enters password correctly, access is granted by sending Person1 to the loading screen. Once there, Person1 should be redirected to the Work Area 1 dashboard specifically. Person1 should not have access to Work Area 4's dashboard.