using Sentry; SentrySdk.ConfigureScope(scope => { scope.User = new Sentry.User { Username = "name1", Id = 1234, Other = { { "age", 20 } } }; });