Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Users → Get Preferences
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations related to users, including retrieving user preferences. It is useful in scenarios where you need to manage user data programmatically, such as fetching user settings or preferences for customization in applications.
Use Case Examples
- Fetching preferences of a specific user by their User ID to customize user experience.
- Retrieving user data for administrative or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user whose preferences are to be retrieved. |
Output
JSON
preferences- The preferences data of the specified user returned from the Appwrite API.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID is correctly provided and exists in the Appwrite system to avoid errors.
- Check that the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to prevent authentication failures.
- If the node throws an 'Unknown resource' error, verify that the resource parameter is set to 'Users' and the operation to 'Get Preferences'.
Links
- Appwrite Users Get Preferences API - Official documentation for the Appwrite API method to get user preferences.