What's the difference between retrieving WindowsPrincipal from WindowsIdentity and Thread.CurrentPrincipal?

前端 未结 3 1678
你的背包
你的背包 2021-02-05 10:12

I am trying to work out why attribute based security isn\'t working as I\'d expect in WCF and I suspect it might have something to do with the following:

AppDoma         


        
3条回答
  •  旧巷少年郎
    2021-02-05 10:41

    I believe the difference is between the logged in user and the account running the app (thread). These will not always be the same.

提交回复
热议问题