cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Edge SDK (specifically .NET) - getting current session user name in service request

tzuge
1-Visitor

Edge SDK (specifically .NET) - getting current session user name in service request

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?

ACCEPTED SOLUTION

Accepted Solutions
dlouis
7-Bedrock
(To:tzuge)

The 'username' parameter would need to be passed to the service explicitly.

View solution in original post

1 REPLY 1
dlouis
7-Bedrock
(To:tzuge)

The 'username' parameter would need to be passed to the service explicitly.

Announcements


Top Tags