GSSP-NET · Question #298
John works as a Software Developer for CyberOrbit Inc. He develops an application, named App1, using Visual C# .NET. He implements security by using the security classes of the .NET GIAC GSSP-.NET…
The correct answer is D. Union. See the full explanation below for the reasoning.
Question
John works as a Software Developer for CyberOrbit Inc. He develops an application, named App1, using Visual C# .NET. He implements security by using the security classes of the .NET GIAC GSSP-.NET Exam Framework. In the application code, he uses the following statements to create two PrincipalPermission objects representing two different administrative users:
PrincipalPermission Perm1 = new PrincipalPermission("Mark", "Manager"); PrincipalPermission Perm2 = new PrincipalPermission("Davis", "Manager"); John wants to create a new PrincipalPermission object by combining these two objects and use the new object to make a demand. He wants the demand to succeed only if the current principal object represents either Mark or Davis in the role of Manager. Which of the following methods will he use to create the new permission?
Options
- AIntersect
- BCopy
- CIsSubSetOf
- DUnion
How the community answered
(65 responses)- A8% (5)
- B12% (8)
- C3% (2)
- D77% (50)
Community Discussion
No community discussion yet for this question.