# User class missing from Auth0.Core Nuget package version 4.0

**URL:** <https://community.auth0.com/t/user-class-missing-from-auth0-core-nuget-package-version-4-0/6546>\
**Category:** Get Help\
**Tags:** c, package, nuget\
**Created:** [May 9, 2017, 2:09pm UTC](https://community.auth0.com/t/user-class-missing-from-auth0-core-nuget-package-version-4-0/6546 "2017-05-09T14:09:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![misterbalrog](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@misterbalrog](https://community.auth0.com/u/misterbalrog)\
**Post date:** [May 9, 2017, 2:09pm UTC](https://community.auth0.com/t/user-class-missing-from-auth0-core-nuget-package-version-4-0/6546/1 "2017-05-09T14:09:38Z")

</div>

Just updated Auth0.Core Nuget package to 4.0 and the Auth.Core.User class is missing.

![What’s left in Auth0.Core][1]

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 9, 2017, 5:51pm UTC](https://community.auth0.com/t/user-class-missing-from-auth0-core-nuget-package-version-4-0/6546/2 "2017-05-09T17:51:43Z")

</div>

The latest version of that package is a new major version and as such there are some breaking changes in relation to the previous 3.x versions.

You can read more about the breaking changes at: [https://github.com/auth0/auth0.net/blob/master/v4-changes.md](https://github.com/auth0/auth0.net/blob/master/v4-changes.md)

In particular, the error you got may be caused by this change that mentions the previous use of a `User` class which changed in version 4:

> The `AuthenticationClient.GetUserInfoAsync()` method now returns a `UserInfo` class instead of `User`.

Also have in mind the following information located at the library repository:

> Version 4.x is meant to be used for clients that are either flagged as OIDC Conformant (under the OAuth tab in the client Advanced settings) or if you are triggering the OIDC-conformant pipeline by using the audience parameter when starting an authorization flow.
> 
> **If not, please continue using v3.x.** Both versions will be fully supported and maintained.

(emphasis is mine)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/user-class-missing-from-auth0-core-nuget-package-version-4-0/6546/3 "2018-03-02T05:53:48Z")

</div>


