none
Getting logged user in code activity RRS feed

  • Question

  • Hi all,

    I need the current logged user in my custom code activity.

    I tried the same code I used in my other WCF services:

     string uu = ServiceSecurityContext.Current.WindowsIdentity.Name.ToString();

    But it's returning IIS APPPOOL/DEVAPPS instead of the user ID when deploy on my DEV server.

    In local machine in debug within Visual Studio I get ""NT AUTHORITY\\NETWORK SERVICE""

    Anyone knows how can I get that.

    Thanks!


    Michel

    Monday, October 26, 2015 6:10 PM

Answers