×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

这里有一段话:

You shold use the Intersect method to confirm access to a request that must pass both the current permission and a specified permission. The Intersect method requires that the request must pass both permissions. The Union method requires that the request pass only one of the two permissions. The Assert method gives the calling code permisssion to access the resource. The Demand method checks for permission to a resource.
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / 萝卜秧mm, 帮我解释一个概念吧.XmlReadMode.DiffGram, XmlReadMode.Fragment, XmlReadMode.IgnoreSchema, XmlReadMode.InferSchema, XmlReadMode.ReadSchema 有什么区别呀. 看MSDN半天还是一头雾水...
    • 你得管我叫JJ。//通俗简单地讲,DiffGram用于read两个不同schema的xml,infer是当read 一个没有schema的xml file时,生成一个。
      ignore是只read value,忽略schema
      。。。。
      • :-) 你有没有相关的例子...我试着做了几个小试验但好像都不成功....另外你MCAD考的是那几门呀? Web Form, Web Service, Windows Form?....
        • 315,316,320,229
          • 320到中关村吧?还有379,331。
            • 没错,我以前经常坐320。:)
            • 运通105、运通106、运通205、运通206、320、332、323、355、365、716、717、718、731、732、801、808、814
              • 除了3字头的,其他都没听说过,更没坐过。:(上次回北京,连公共汽车都不敢认了。
              • 你干啥子?显摆你是公交公司的?
              • 捣乱 :-( 萝卜秧本来就八卦, 你们一打岔她就不专心回答我的问题了...
                • 我是纸上谈兵。XML我只用过最基本的东东。
                • 萝卜!他居然说你八卦。这样的人你还回答他什么问题。让他自己看书学习去。
                  • 就是,我哪有你八卦呀!// 居然敢管我叫萝卜!!
                    • 萝卜多亲切啊
                      • 萝卜和萝卜秧有关系, 但关系不明. 但肯定萝卜不是萝卜秧...:-P
                        • 咱给你和萝卜顶进热点吧
                          • 同意
                          • 我现在体会到了, 凡是热点肯定80%以上是废话.... :-P
            • 331 to Jishuitan? 379 to xizhimen?
              • enna. 敢情萝卜的这点秘密谁都知道。
      • 还有... PrincipalPermission.. Union, Intersection, Demand..这套东西我也有点糊涂..比如 principalPerm1.Union(principalPerm2).Demand() 用中文解释到底是要干什么呀?
        • User1 has the same security roles as User2. // principalperm1.Intersect(principalperm2).Demand() means BOTH //你在看考题呢? :)
          • xixi...是呀,所以我才问你的呀... //我还得去找老板商量考试费的问题, 不像你的公司那么痛快... 言归正传, 我比较迟钝, 还是没理解. 你给我举个实际例子,什么时候可以使用这套methods... 谢谢啦...
            • 我得找找,记得transcender里面有。
            • 这里有一段话:
              You shold use the Intersect method to confirm access to a request that must pass both the current permission and a specified permission. The Intersect method requires that the request must pass both permissions. The Union method requires that the request pass only one of the two permissions. The Assert method gives the calling code permisssion to access the resource. The Demand method checks for permission to a resource.
              • 先谢谢啦. 仔细读一下. 你要是能把ranscender里关于这方面的题和解释贴出来就更好了... 谢谢 :-)
                • 别提了,这段话是我敲上去的。因为transender的题无法copy&paste!
                  • 哦, 太辛苦了. 万分感谢!!!!!! ^_*
                    • 光谢谢就完了?无论如何也要把秧子请出来吃一顿。黑暗列席。
                      • 要是能把萝卜秧请出来, 我请客, 你们主吃, 我列席参观都可以... :-P
                        • 小心话说得太满啊~~~
                          • 我看小心的应该是你呀...你知道有多少人一直虎视眈眈地盯着你呢.. :-P
                            • 虱子多了不咬,债多了不愁~~~
                    • 看看我想法把题弄出来。:)