Hi. I have a database on my site with userId as the key which is used to display a client profile page. Currently when a user logs on, if there is no entry for them on the database, it is added.
However, I want to pre-populate some of the details on the database at the time of approving the user, so that it is shown on the profile page as soon as they log on. This is information which the user wouldn't know at the time of sign up; for example account number, and is not data they would ever edit - it's purely displayed to them for information purposes.
I.e. I receive a notification that the user has signed up and is waiting for approval. I access the database and add them directly with the default information. I then approve them, they logon for the first time and their profile is setup.
Is there anyway to do this?
Many thanks in advance.