单项选择题
A. Roles.CreateRole(listName)User.IsInRole(listName)
B. Roles.CreateRole(listName)Roles.AddUserToRole(userName, listName)
C. Roles.RoleExists(listName)Roles.AddUserToRole(userName, listName)
D. Roles.RoleExists(listName)User.IsInRole(listName)
单项选择题 You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider. What should you do? ()
单项选择题 You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()
单项选择题 You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use? ()