Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
With the .NET Edge SDK, is it possible to get the current session user name when processing a service request in a virtual thing?
For example, in the SteamSensor sample project, in the SteamThing.AddNumbers() method, is there some way to get the name of the user who initiated the request? Or is it necessary to add a 'username' input parameter to method and pass it in explicitly?
Solved! Go to Solution.
The 'username' parameter would need to be passed to the service explicitly.
The 'username' parameter would need to be passed to the service explicitly.