Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
GetUserCallbacks defines a set of callback functions for retrieving user-related information.

Properties

getUserFailure()

getUserFailure: (error_msg) => void Callback function invoked when retrieving user information fails.

Parameters

error_msg
string The error message indicating the reason for user information retrieval failure.

Returns

void

getUserSuccess()

getUserSuccess: (user) => void Callback function invoked when user information retrieval is successful.

Parameters

user
User The user object containing information about the user.

Returns

void
Last modified on October 2, 2025