Basically, I’m trying to get the user details that are stored on the Ionic Cloud Auth. Is there a way to just get the user ID, so that I can use it in a JSON file?
check in the user details object on User object
We store common user data in the details attribute. Unlike your custom data which uses get() and set(), details is just an object with the following properties.
username unique username
email unique email address
password write-only password
name first and last name
image url to identifying image
this.user.details.name = ‘Ionitron’;
this.user.details.image = ‘https://pbs.twimg.com/profile_images/617058765167329280/9BkeDJlV.png’;
this.user.details.password = ‘test’;