YouareimplementinganASP.NETMVC2Webapplicationthatallowsuserstoviewandeditdata.Youneedtoensurethatonlylogged-inuserscanaccesstheEditactionofthecontroller.WhataretwopossibleattributesthatyoucanaddtotheEditactiontoachievethisgoal?()A.[Authorize(Users=)]B.[Authorize(Roles=)]C.[Authorize(Users=*)]D.[Authorize(Roles=*)]
YouareimplementinganASP.NETMVC2Webapplicationthatallowsuserstoviewandeditdata.Youneedtoensurethatonlylogged-inuserscanaccesstheEditactionofthecontroller.WhataretwopossibleattributesthatyoucanaddtotheEditactiontoachievethisgoal?()
A.[Authorize(Users="")]
B.[Authorize(Roles="")]
C.[Authorize(Users="*")]
D.[Authorize(Roles="*")]
相关考题:
《中华人民共和国公职人员政务处分法》规定篡改、伪造本人档案资料的,予以();情节严重的,予以()。 A.警告或者记过;降级或者撤职B.记过或者记大过;降级或者撤职C.记过或者记大过;开除D.降级或者撤职;开除
Youareconductingacdp-baseddiscoveryusinganedgeswitchfortheseed.thereisarouterbetweentheswitchandthewlse.noneoftheaccesspointsarediscovered,andthediscoverylogshowstheswitchissnmpunreachable.Whatistheproblem?()A.thesnmpcommunitiesontheswitchdonotmatchthewlse.B.thesnmpcommunitiesontheaccesspointsdonotmatchthewlse.C.thesnmpcommunitiesontheaccesspointsdonotmatchtheswitch.D.thesnmpcommunitiesontherouterdonotmatchthewlse.
告警牌上指示灯状态为红色常亮,电铃不响铃时,表示的是()。 A.活动告警B.确认告警C.清除告警D.无告警