The SetContactInfo
Web service calls the setContactInfo
method in the underlying atg.userprofiling.ProfileServices
implementation. This method attempts to set the contact information of the user who is specified by the profile ID to the given value, which is represented as a Repo2Xml
item. Use the PropertyManager.contactInfoPropertyName
to specify the property where contact information is stored in your profile repository configuration. This property should be of type atg.repository.RepositoryItem
.
The setContactInfo
method acts as follows:
Checks that the given
pProfileId
resolves to a valid profile.Takes the
pContactInfoAsXML
and uses it to get or create aRepositoryItem
.Sets the contact information property of the user represented by
pProfileId
to theRepositoryItem
returned by the previous step.