题目内容

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.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)

查看答案
更多问题

《撒利克法典》

既溶解于水又溶解于乙醚的是()

A. 乙醇
B. 丙三醇
C. 苯酚
D. 苯

如何判断汽车离合器打滑的现象?并分析产生的原因。

电动机的工作制有S1、S2、…….S8共8中种,天车上只用()一种

A. S2
B. S3
C. S4

答案查题题库