4.1.5.2 Response

A protocol server returns a response message similar to the following:

 <?xml version="1.0" encoding="utf-8"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
     <SetPermissionsResponse xmlns="http://schemas.microsoft.com/clouddocuments">
       <SetPermissionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
         <FailedRecipients>
           <RecipientErrorInfo>
             <ErrorDetail>Recipient: 'YaelPeled@fabrikam.com' is unknown to the server.
             </ErrorDetail>
             <ErrorReason>RecipientUnknown</ErrorReason>
             <Recipient>
               <EmailAddress i:nil="true"/>
               <Identifier>YaelPeled@fabrikam.com</Identifier>
               <IdentityType>Individual</IdentityType>
             </Recipient>
             <ServerData i:nil="true"/>
           </RecipientErrorInfo>
         </FailedRecipients>
       </SetPermissionsResult>
     </SetPermissionsResponse>
   </s:Body>
 </s:Envelope>

In this example, the new role for user ‘ErinHagens@contoso.com’ and ‘JayHamlin@contoso.com’ was successfully assigned, but the role assignment failed for user ‘YaelPeled@fabrikam.com’, and the failure reason was provided.