Home » Microsoft » 70-573 » Which collection should you use?
You need to create a Web Part that displays all of the permission levels of the current subsite.
Which collection should you use?
A. SPContext.Current.Web.Permissions
B. SPContext.Current.Web.Properties
C. SPContext.Current.Web.RoleAssignments
D. SPContext.Current.Web.RoleDefinitions
Correct Answer: D
Explanation/Reference:
MNEMONIC RULE: "permission levels = RoleDefinitions"
The role definition, or permission level, is the list of rights associated with the role.
Role Assignments, Role Definitions, and Inheritance
http://msdn.microsoft.com/en-us/library/ms414036.aspx