Skip to main content
1-Visitor
June 22, 2018
Question

User Identification

  • June 22, 2018
  • 1 reply
  • 661 views

Hi,

I have an scenario where, I have 10 users and there is a particular mashup where all the 10 users have access to and can edit it are using it and there is an option to like save button to save a text from the mashup to sql.

In this case, I wanted to know which user is saving what data in sql. 

How can I make this possible?

 

Please provide some help.

Thanks,

V Shalini.

1 reply

1-Visitor
June 22, 2018

On a custom service you can use the snippet GetCurrentUser:

 

var currentUserName = Resources["CurrentSessionInfo"].GetCurrentUser();