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://docs.acquia.com/acquia-dam/api-v1#tag/Users-and-Contacts/operation/getUserAddress
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://docs.acquia.com/acquia-dam/api-v2#tag/Users/operation/getUserById