Type Function Return value String or nilRevision 2017.3060 Keywords Amazon, IAP, in-app purchases, getUserId See also store.getUserData() store.*
This function can be called any time after calling store.init() to determine the ID of the currently nil. If the user is unknown, it will return "unknown".
Alternatively, the user ID and additional information can be gathered via the store.getUserData() function and its userData event listener.
store.getUserId()