Custom fields to attach to the user (RBAC, Oauth, etc...).
OptionalemailEmail of the user.
Unique identifier of the user. Mandatory.
OptionalnameUser-friendly name of the user.
OptionalroleRole the user is making the request under.
OptionalscopeScopes or granted authorizations the user currently possesses. The value could come from the scope associated with an OAuth2 Access Token or an attribute value in a SAML 2 Assertion.
Optionalsession_Session ID of the user.
User object that can be passed to
tracer.setUser().