I use this code to authenticate to my WCF Service:
proxy.ClientCredentials.UserName.UserName = "test";
proxy.ClientCredentials.UserName.Password = "pass";
Is there any way to access this information from within a method of my WCF Service code? (I'm not interested in the password used, more the username for audit purposes.)
I'm trying to determine the identity of the user calling the method without changing the method signiture to include another parameter.