GIAC
GSSP-.NET · Question #220
(Topic 2) You work as a Software Developer for ABC Inc. You use C# .NET to develop a windows application. The application will implement a role-based authorization scheme that is based on a…
The correct answer is C. GenericIdentity identity =. See the full explanation below for the reasoning.
Question
- (Topic 2)
You work as a Software Developer for ABC Inc. You use C# .NET to develop a windows application. The application will implement a role-based authorization scheme that is based on a Microsoft SQL Server database of user names. Users will enter their names in a text box named UserName. You must ensure that users are assigned the supervisor role and the PG role by default. Which of the following code segments will you use to accomplish this task?
Options
- AGenericIdentity identity =
- BWindowsIdentity identity =
- CGenericIdentity identity =
- DWindowsIdentity identity =
How the community answered
(28 responses)- A4% (1)
- B11% (3)
- C82% (23)
- D4% (1)
Community Discussion
No community discussion yet for this question.