Skip to Content
0
Apr 22, 2021 at 01:47 PM

Stroing logged in user information in database from MDK application

111 Views Last edit Apr 22, 2021 at 02:21 PM 2 rev

Hi,

We are developing an MDK app with odata services implemented using CAP.

we have a use case that we need to store logged in user's info in the data base

can you please guide what will be the correct way of handling this

Option 1 - Capture use info from MDK app code and then push to ODATA service as request input

Option 2 - Capture user info at the odata service side using CAP libraries which read the user info from the context

if yes , how do we set up for option no 2 . is it supported?

Thanks

Apoorv