Microsoft Microsoft Licensing 70-542 Exam

MS Office SharePoint Server 2007.Application Development

  • Exam Number/Code : 70-542
  • Exam Name : MS Office SharePoint Server 2007.Application Development
  • Questions and Answers : 241 Q&As
  • Update Time: 2011-03-30
  • Price: $ 114.00 $ 45.00
  •  
  • Note: After purchase, we will send questions within 24 hours.

After you purchase,you can download this product yourself.Have any questions,please click live chat.

Free 70-542 Demo Download

just4exam offers free demo for Microsoft Licensing 70-542 exam (MS Office SharePoint Server 2007.Application Development). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Download 70-542 PDF

 

Exam 70-542 Preparation from just4exam braindumps include:

After you purchase our product, we will offer free update in time for 90 days.
100% Pass Guaranteed at First Attempt Or Full Refund
Immediate Download After Purchase
Comprehensive questions with complete details
Questions accompanied by exhibits
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the just4exam
Questions updated on regular basis
These questions and answers are backed by our GUARANTEE
Like actual certification exams our product is in multiple-choice questions (MCQs)


Passing the Microsoft 70-542 Exam:Passing the 70-542 exam has never been faster or easier, now with actual questions and answers, without the messy 70-542 braindumps that are frequently incorrect. just4exam Unlimited Access Exams are not only the cheaper way to pass without resorting to 70-542 dumps, but at only $ 45.00 you get access to the exam from every certification vendor.


Our 70-542 practice exams and study questions are composed by current and active Information Technology experts, who use their experience in preparing you for your future in IT.


Microsoft 70-542 Search Help Feel free to use search terms below while searching the Net for 70-542 exam:

70-542 brain dump simulations
70-542 brain dumps question
70-542 braindump work
70-542 master braindumps
70-542 braindump model
70-542 latest braindumps


Commitment to Your Success:

At just4exam we are committed to you ongoing success. Our braindumps are constantly being updated and compared to industry standards.


You are not about to purchase a disposable product. 70-542 braindumps updates are supplied free of charge. Regardless of how soon you decide to take the actual 70-542 examination certification, you will be able to walk into the testing room as confident as the Certification Administrator.


Skip all the worthless 70-542 exam tutorials and download 70-542 exam materials with real questions and answers and a price too unbelievable to pass up. Act now and download your Actual Tests today!

http://www.just4exam.net The safer.easier way to get Microsoft Licensing Certification.
 
 
Exam : Microsoft 70-542
Title : MS Office SharePoint Server 2007.Application Development


1. You are creating a Microsoft Office SharePoint Server 2007 site.
You create a Microsoft WinForms application to enter information about a user.
You write the following code segment. (Line numbers are included for reference only.)
01 Shared Sub AddUser(ByVal user_name As String())
02 ' Using
03 Dim site As SPSite = New SPSite("http://sitename")
04 Try
05 Dim context As ServerContext = _
06 ServerContext.GetContext(site)
07 Dim profileManager As UserProfileManager = New _
08 UserProfileManager(context)
09 ...
10 Finally
11 CType(site, IDisposable).Dispose()
12 End Try 13 End Sub
You need to add a user profile to the profile store.
Which code segment should you insert at line 09?
A. Private u As UserProfile = _
profileManager.GetUserProfile(user_name)
...
B. Private profileManager As UserProfileManager = New _
UserProfileManager(context)
Private u As UserProfile = profileManager.GetUserProfile(user_name)
...
u.Commit
C. Private user_name As String = "<UserProfile>"
...
user_name += userProfile + user_name
...
user_name += "</UserProfile>"
profileManager.CreateUserProfile(user_name)
D. Private u As UserProfile = _
profileManager.CreateUserProfile(user_name)
...
u.Commit
Answer: D

2. You create a Microsoft Office SharePoint Server 2007 application. The application has a user named UserA.
You need to retrieve a list of colleagues for UserA.
Which code segment should you use?
A. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim profileManager As UserProfileManager = New _
UserProfileManager(Cntxtobj) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim colleagues As Colleague() = profile.Colleagues.GetItems
Site.Dispose
...
End Sub
B. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim colleagues As UserProfile() = _
profile.Colleagues.GetCommonColleagues
Site.Dispose
...
End Sub
C. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim manager As ColleagueManager = _
New ColleagueManager(profile)
Dim profiles As UserProfile() = _
manager.GetColleaguesOfColleagues
Site.Dispose
...
End Sub
D. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername//sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim audMgr As AudienceManager = New AudienceManager(context)
Dim web As SPWeb = site.AllWebs("mainpage")
Dim audienceIDNames As ArrayList = _
audMgr.GetUserAudienceIDs("domainuserA", True, web)
Site.Dispose
...
End Sub
Answer: A

3. You create a Microsoft Office SharePoint Server 2007 site. A document library named CompanyWorkbooks on the site contains Microsoft Office Excel workbooks. You need to ensure that users can access the workbooks in the CompanyWorkbooks document library by using Excel Services in Microsoft Office SharePoint Server 2007. What should you do?
A. Define the site as a managed path within SharePoint.
B. Add the CompanyWorkbooks URL to the trusted location list.
C. Edit the permissions of the CompanyWorkbooks document library to grant full control to the SharePoint application pool identity account.
D. Create a custom security policy file for the CompanyWorkbooks document library. Add the file to the securityPolicy section of the Web.config file for the site.
Answer: B

4. Your organization has a department named product testing. You are creating a new membership named Product Testing. You are adding a distribution list to the new membership. You need to ensure that the membership is displayed only to managers. What should you do?
A. Call the MemberGroupData method of the UserProfiles object.
B. Call the GetPrivacyPolicy method of the UserProfileManager object.
C. Pass Privacy.Manager as the privacy setting to the Membership.Create method.
D. Pass PrivacyPolicyIdConstants.MembershipsFromDistributionLists to the CreateMemberGroup method of the user profile.
Answer: C

5. You create a Microsoft Office SharePoint Server 2007 site. The site is configured to use a Shared Services Provider (SSP) that manages user profiles. The user profiles contain user contact information. You need to retrieve the telephone number of a user. What should you do?
A. Perform a keyword search by using the WorkPhone: prefix.
B. Obtain the value of the WorkPhone node from the SPUser.Xml property of the user.
C. Obtain the value of the UserProfile[PropertyConstants.WorkPhone] property of the user.
D. Obtain the value of the PropertyInformation.Description property where the value of the PropertyInformation.Name property is WorkPhone.
Answer: C

 

70-542 News

The latest Microsoft 70-542 exam
Exam Number/Code : 70-542 Exam Name : MS Office SharePoint Server 2007.Application Development Questions and Answers : 241 Q&As Update Time: 2010-09-25 About this Exam When the exam begins, you can choose the programming language in which the code segments will appear. The available code languages for this exam are: &bull;Microsoft Visual Basic 2005 &bull;Microsoft Visual C# 2005 Preparation Tools and Resources To help you prepare for this exam, Microsoft Learning recommends that you have han…