阅读背景:

将userloginid从控制器传递到apicontroller

来源:互联网 

I have an mvc app where we follow custom authentication through an external package. After authentication, the username & otherdetails are sent through an object which can be accessed by 'Thread.CurrentPrincipal' property in the controller. I use the username from this object to log into my database for logging. I have an mvc app where we follow custom authen




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: