Answer(s)
- company creates a Web-based human resources (HR) site that runs on a Microsoft OfficeSharePoint Server 2007 Service server. The site has been configured to use a Shared ServicesProvider (SSP) that manages user profiles. The user profiles contain details of user contactinformation. The duty is to retrieve the telephone number of a user from user profiles. Whichaction should be done?A. You should run a keyword search by using the WorkPhone: prefix.
- The SPUser.Xml property of the user profile contains user WorkPhone value, you may get thevalue of the WorkPhone node from the SPUser.Xml property.
- Obtain the value of the UserProfile[PropertyConstants.WorkPhone] property of the user.
- Find the value of the PropertyInformation.Name property is WorkPhone,then Obtain the valueof Description property of the PropertyInformation object.
Correct Answer Obtain the value of the UserProfile[PropertyConstants.WorkPhone] property of the user.