欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-513)

多项选择题

A self-hosted Windows Communication Foundation (WCF) service uses a secure HTTP binding with a custom principal permission mode. The binding requires users to provide their Windows logon credentials. You need to retrieve the identity of the caller.What are two possible properties you can use to achieve this goal? (Each correct answer presents a complete solution Choose two)()

    A. Thread.CurrentPrincipal.Identity.Name
    B. HttpContext.Current.User.Identity.Name
    C. ServiceSecurityContext.Current.PrimaryIdentity.Name
    D. OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题