Skip to main content
1-Visitor
Jun 22, 2018 10:12 AM UTC
Question

User Identification

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
Jun 22, 2018 1:16 PM UTC

On a custom service you can use the snippet GetCurrentUser:

 

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

Translate