If this content did not answer your questions, try searching or contacting our support team for further assistance.
acquia-dam-sdk / Components / UsersApi
new UsersApi(
client
):UsersApi
Create an instance of the UsersApi class
Query for information about users
Provide an instance of ApiClient.
getContact():
Promise
<GetContactResult
>
Return the calling user's contact. The UUID field may be used as a recipient to create an order.
Promise
<GetContactResult
>
Promise containing the calling user's contact information
https://widenv1.docs.apiary.io/#reference/users-&-contacts/user-address/user-address
getUser(
id
?):Promise
<GetUserResult
>
Returns information about a user
string
Retrieve a specific user's information. If omitted, information for the user associated with the provided access token will be returned.
Promise
<GetUserResult
>
Promise containing the requested user information
https://widenv2.docs.apiary.io/#reference/users/get-user-by-id/get-user-by-id