Is there a way to get the owner email?

I’m doing a photon particle app. But I’m wondering if there is a way to access the owner name from the .ino file.

I read on the docs that your could use something like particle/device/device to get the name of the device. But I can’t find a way to access the owner

That would go the wrong way round and pose a security risk IMO.
You’d rather need to know the owner’s email (and password) in order to get an access token.
If you could just throw in any random access token or device ID and could this way retrieve the connected account that would be bad.

1 Like

that used to require that the device was rooted and the android app had admin rights [to do it with an android app]. i doubt it’s changed if it’s still possible. so i doubt you could find a way to do it from particle .ino.