开发者

Detecting Windows ID of logged-in user in RIA

What is the best wa开发者_如何学Pythony to detect the current user Windows ID (on a corporate LAN on a Windows machine) in RIA? I assume I should use WindowsAuth for this


In your web.config file, set the authentication mode to "Windows". Also, in your client (assuming you're using the Business Application Template), you'll need to set webContext.Authentication to a new instance of WindowsAuthentication in App.xaml.cs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜