3.1.4.4 GetActivatedFeatures

This operation<13> obtains a list of activated features on the site and on the parent site collection. This operation is defined as follows:

 <wsdl:operation name="GetActivatedFeatures">
     <wsdl:input message="tns:GetActivatedFeaturesSoapIn" />
     <wsdl:output message="tns:GetActivatedFeaturesSoapOut" />
 </wsdl:operation>

The protocol client sends a GetActivatedFeaturesSoapIn request message, and the protocol server responds with a GetActivatedFeaturesSoapOut response message, as follows:

The GetActivatedFeaturesSoapOut message MUST contain a single GetActivatedFeaturesResponse element. The GetActivatedFeaturesResponse element MUST contain a single string, formatted as a comma-delimited list of GUIDs, each identifying an activated feature on the site or in the site collection.

The following code example shows a SOAP response:

 <GetActivatedFeaturesResponse 
 xmlns="http://schemas.microsoft.com/sharepoint/soap/">
     <GetActivatedFeaturesResult>
 00bfea71-c796-4402-9f2f-0eb9a6e71b18,
 29d85c25-170c-4df9-a641-12db0b9d4130,
 00bfea71-5932-4f9c-ad71-1557e5751100,
 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb,
   </GetActivatedFeaturesResult>
 </GetActivatedFeaturesResponse>

The value of GetActivatedFeaturesResult MUST be a comma-delimited list of GUIDs of features activated on the site, followed by a comma-delimited list of GUIDs of features activated on the parent site collection.