Ionic cloud Auth - How to get UserID

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

User Details
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

Examples = ‘Ionitron’;
this.user.details.image = ‘’;
this.user.details.password = ‘test’;