AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,

Chat with us

READ Free Dumps For Microsoft- 70-489



Question ID 22595

You need to add code to line MP22 to create the custom profile property
How should you complete the relevant code?
(To answer, drag the appropriate code segments to the correct locations in the answer area. Each code
segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view
content)
Select and Place:

Option A

Correct Answer:

Correct Answer A
Description CorePropertyManager.Create method creates a CoreProperty object. public CoreProperty Create(bool isSection); http://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.corepropertymanager.create.aspx
Update Date and Time 2018-04-06 06:22:45

Question ID 22596

You need to add code to line MP57 to display the required properties for the user profile
How should you complete the relevant code?
(To answer, drag the appropriate code segments to the correct locations in the answer area. Each code
segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content)
Select and Place:

Option A

Correct Answer:

Correct Answer A
Description public UserProfilePropertiesForUser(ClientRuntimeContext context, string accountName, string[] propertyNames) // Connect to the client context. ClientContext clientContext = new ClientContext(serverUrl); // Get the PeopleManager object. PeopleManager peopleManager = new PeopleManager(clientContext); // Retrieve specific properties by using the GetUserProfilePropertiesFor method. // The returned collection contains only property values. string[] profilePropertyNames = new string[] { "PreferredName", "Department", "Title" }; UserProfilePropertiesForUser profilePropertiesForUser = new UserProfilePropertiesForUser( clientContext, targetUser, profilePropertyNames); IEnumerable profilePropertyValues = peopleManager.GetUserProfilePropertiesFor (profilePropertiesForUser); // Load the request and run it on the server. clientContext.Load(profilePropertiesForUser); clientContext.ExecuteQuery(); http://msdn.microsoft.com/en-us/library/jj163182.aspx http://msdn.microsoft.com/en-us/library/ microsoft.sharepoint.client.userprofiles.userprofilepropertiesforuser.aspx
Update Date and Time 2018-04-06 06:30:01