You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.
- A、 In the method body, check the Rights.PosessesProperty property to see if it contains manager.
- B、 Add a PrincipalPermission attribute to the method and set the Roles property to Manager.
- C、 Add a SecurityPermission attribute to the method and set the SecurityAction to Demand.
- D、 In the method body, create a new instance of WindowsClaimSet.
正确答案:B
答案解析:有

微信扫一扫手机做题