可学答题网 > 问答 > MCTS(70-528)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a Web site that is for memb


You create a Web site that is for members only. The Web site allows members to create lists of users that have access to information about member profiles. The name of the list is stored in the listName variable. The user name of the user to whom access is given is stored in the username variable. You need to enable members to manage their lists of users. Which code segment should you use? ()

  • A Roles.CreateRole(listName);User.InInRole(listName);
  • B Roles.CreateRole(listName);Roles.AddUserToRole(useName, listName);
  • C Roles.RoleExists(listName);Roles.AddUserToRole(useName, listName);
  • D Roles.RoleExists(listName);User.InInRole(listName)
参考答案
参考解析:
分类:MCTS(70-528)题库
相关推荐

1、You create a Web site that you must c

You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have termin...

2、You create a Web site. You add an Edi

You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and...

3、You create a Web site with membership

You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information....

4、You create a Web site that is for mem

You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses...

5、You create a Web site that stores use

You create a Web site that stores users' active themes in user profile objects. You need to apply users' preferred themes when they lo...

6、You create a Web Form that contains a

You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web...