You create an assembly that contains a collection of serviced components. You want to secure these components by using a collection of COM+ roles. Different groups of roles will secure different components. You need to ensure that role-based security is enforced in the assembly. You want to accomplish this goal by adding an attribute to the project source code. Which attribute should you use?
A.
[assembly: SecurityRole(“Assembly”, true)]
B.
[assembly:
SecurityPermission(SecurityAction.RequestOptional)]
C.
[assembly:
ApplicationActivation(ActivationOption.Server)]
D.
[assembly: ApplicationAccessControl(AccessChecksLevel =
AccessChecksLevelOption.ApplicationComponent)]