单项选择题

你创建一个DirectorySecurity对象为工作目录。你需要确定用户帐户和组具有读取和写入权限。你应该使用DirectorySecurity对象的哪种方法?()

A.the GetAuditRules method
B.the GetAccessRules method
C.the AccessRuleFactory method
D.the AuditRuleFactory method