# observe\_user\_context/3

Source: https://zotonic.com/docs/1349/observe_user_context-3

URI: https://zotonic.com/id/1349

Language: en



Set #context fields depending on the user and/or the preferences of the user.

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

`#user_context{}` properties:

- id: `m_rsc:resource_id()`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1349?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1349?language=en>)
