GetPolicyByUserRequest
    
    
    
    Permission:GetPolicyByUserRequest
    
    
    
        
            
                | Name | 
                Type | 
                Required | 
                Description | 
            
                
                    | Username | 
                    
String                     | 
                    Required | 
                     | 
                
        
     
 
    
    
    
        
            
                | Exception | 
                Severity | 
                Code | 
                Condition | 
            
                
                    | ArgumentMissing | 
                    Critical | 
                    10010001 | 
                    A required request input has not been specified. | 
                
                
                    | UserDoesNotExist | 
                    Critical | 
                    10020005 | 
                    User does not exist in the records. | 
                
        
     
 
    
    
        
        
            The following is an XML example of the GetPolicyByUserRequest sent to the 
            Authentication.GetPolicy method.
            
            
                <soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header />
  <soapenv:Body>
    <ns:GetPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:GetPolicyByUserRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Authentication">
        <a:Username>MyUsername</a:Username>
      </ns:request>
    </ns:GetPolicy>
  </soapenv:Body>
</soapenv:Envelope>