采用Username认证方式
ApiClient _clent = new ApiClient();
_clent.ClientCredentials.UserName.UserName = "123";
_clent.ClientCredentials.UserName.Password = "";
通过验证后,怎么再取得当前会话用户提供的Username?
WCF
Username
------解决方案--------------------
http://www.cnblogs.com/chenxizhang/archive/2009/05/13/1455582.html