Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
Is there a service which can be run in a mashup to determine what user is currently signed in?
Thank you,
Mike
Hi Michael,
Yes there is a way to get the current user using a service. You can use the
GetCurrentUser
code snippet in a service to return this information.Thanks,
Saeed
An alternative to using the snippet is to use the Keyword, principal, to retrieve the user that is executing a particular service.
Could you please provide an example? I would need to determine the user who is logged in via TW View and calling a service in Thingworx.