# Import the User class instead of using User

**URL:** https://meta.discourse.org/t/import-the-user-class-instead-of-using-user/139586
**Category:** Development
**Created:** [January 23, 2020, 10:52pm UTC](https://meta.discourse.org/t/import-the-user-class-instead-of-using-user/139586 "2020-01-23T22:52:39Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![frictionel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frictionel/32/299701_2.png) [@frictionel](https://meta.discourse.org/u/frictionel)
#### Post date: [March 5, 2020, 6:38pm UTC](https://meta.discourse.org/t/import-the-user-class-instead-of-using-user/139586/6 "2020-03-05T18:38:57Z")

</div>

Same here, would I need to replace `Discourse.Site.currentProp('user_fields')` (see [here](https://meta.discourse.org/t/link-custom-user-field-to-external-website/41218)) with something else?

---

_[View the full topic](https://meta.discourse.org/t/import-the-user-class-instead-of-using-user/139586)._
