GIAC
GSSP-NET · Question #220
GSSP-NET Question #220: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #220. The question stem and answer options stay visible for context.
Question
You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. The application is for members only. The behavior of the Web application varies according to the role of the user. The Web application uses the ASP.NET Membership control for creation of user accounts. You are required to find out whether a user is a member of a specific role. What will you do?
Options
- APass the role names to the User.IsInRole method.
- BPass the user names and passwords to the Membership.ValidateUser method.
- CPass the role names to the Roles.RoleExists method.
- DPass the user names to the User.IsUserInRole method.
Unlock GSSP-NET to see the answer
You've previewed enough free GSSP-NET questions. Unlock GSSP-NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.