Microsoft
70-573 · Question #44
70-573 Question #44: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #44. The question stem and answer options stay visible for context.
Question
You need to create a Web Part that verifies whether a user who accesses the Web Part page is a member of a group named Group1. Which code condition should you use?
Options
- ASPContext.Current.Web.Groups("Group1").ContainsCurrentUser
- BSPContext.Current.Web.SiteUsers
- CSPContext.Current.Web.SiteUsers
- DSPContext.Current.Web.Users("Group1").IsDomainGroup
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 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.