GSSP-.NET · Question #58
(Topic 1) Patrick works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual C# .NET. He implements security using the security classes of the .NET…
The correct answer is B. IsSubSetOf. See the full explanation below for the reasoning.
Question
- (Topic 1)
Patrick works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual C# .NET. He implements security using the security classes of the .NET Framework. He defines the following statements in the application:
PrincipalPermission Principal_Perm1 = new PrincipalPermission("Nick", "General Manager"); PrincipalPermission Principal_Perm2 = new PrincipalPermission("Jack", "Accountant"); Patrick wants to check whether all demands that succeed for Principal_Perm1 also succeed for Principal_Perm2. Which of the following methods of the PrincipalPermission class will he use to accomplish this?
Options
- AIntersect
- BIsSubSetOf
- CIsUnrestricted
- DUnion
How the community answered
(35 responses)- A6% (2)
- B71% (25)
- C6% (2)
- D17% (6)
Community Discussion
No community discussion yet for this question.