I use the class UserNamePasswordValidatoras part of security UserNamewith WCF. All this works fine, and the Validateclass function is called and works correctly.
How can I find out what UserNamewas used in my service functions?
For example, let's say if a client connects and requests a list of logs using something like
IList<Log> Logs() { ... }
How can this function know which username was used for this request?
What I want to do is log what UserName calls which function inside the service.
Chris source
share