找考题网-背景图
单项选择题

A.The output will be FormsUser.B.The output will be Cer……

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. 
The configuration below exists in the Web.config file: 
<authorization> 
<deny users="?"/> 
</authorization>
<authentication mode="Forms"/> 
<identity impersonate="false"/>  
Certkiller.com hosts the Web application in Microsoft Internet Information Services (IIS) 6.0. TheIntegrated Windows Authentication is enabled in IIS and anonymous access disabled. The
application pool is configured to run as the identity Certkiller\WebApp. The IIS anonymous accountis Certkiller\Anonymous. 
The following code exists in the code-behind file for a web form: 
stringname = WindowsIdentity.GetCurrent().Name; 
Response.Write(name);
A Certkiller.com employee named RoryAllen has a domain user account named Certkiller\RAllen.He uses this account to access the page. However, Rory Allen logs in to the Web application withthe user name FormsUser. You need to determine the output of this code when Rory Allenaccesses the page. What will the output of this code be?()



A.The output will be FormsUser.
B.The output will be Certkiller\RAllen.
C.The output will be Certkiller\Anonymous.
D.The output will be Certkiller\WebApp

热门试题