Having trouble retrieving user meta data in dotnet sdk

Not quite sure how to retrieve the data from this?

User usr = await mcli.Users.GetAsync(userid);
string firstname = usr.UserMetaData[“firstname”];

that is what I tried. when in debug I can see the values, but they appear to be in json format. A quick code sample of how to retrive the metadata properties would be greatly appreciated.

Please include the following information in your post:

  • Which SDK this is regarding: e.g. auth0-node
  • SDK Version: e.g. 2.29.0
  • Platform Version: e.g. Node 12.19.0
  • Code Snippets/Error Messages/Supporting Details/Screenshots:

Is this a feature request or bug report? If so, please create an issue directly in the corresponding GitHub repo. The Community SDK category is for general discussion and support.

Figured it out…


1 Like

Thanks for sharing that with the rest of community!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.