Export (0) Print
Expand All

UpdateUserRoles Service Operation

Updates the roles of the specified user.

Only resellers can update the roles of a user.

<wsdl:operation name="UpdateUserRoles">
  <soap:operation soapAction="UpdateUserRoles" style="document" />
  <wsdl:input name="UpdateUserRolesRequest">
    <soap:header message="tns:UpdateUserRolesRequest_Headers" part="ApplicationToken" use="literal" />
    <soap:header message="tns:UpdateUserRolesRequest_Headers" part="DeveloperToken" use="literal" />
    <soap:header message="tns:UpdateUserRolesRequest_Headers" part="Password" use="literal" />
    <soap:header message="tns:UpdateUserRolesRequest_Headers" part="UserName" use="literal" />
    <soap:body use="literal" />
  <wsdl:output name="UpdateUserRolesResponse">
    <soap:header message="tns:UpdateUserRolesResponse_Headers" part="TrackingId" use="literal" />
    <soap:body use="literal" />
  <wsdl:fault name="ApiFaultFault">
    <soap:fault use="literal" name="ApiFaultFault" namespace="" />
  <wsdl:fault name="AdApiFaultDetailFault">
    <soap:fault use="literal" name="AdApiFaultDetailFault" namespace="" />

An UpdateUserRolesRequest object that contains the request message that the client passes to the operation.

An UpdateUserRolesResponse object that contains the response message that the operation returns to the client.

If the service operation fails, the operation throws a FaultException exception, which contains one of the following objects:



For more information about fault detail objects, see Handling Errors. For a list of customer management-specific error codes, see Customer Management Error Codes. For a list of generic error codes, see Common Error Codes.

CustomerManagementService.svc v7

Namespace: https://adcenter.microsoft.com/api/customermanagement

© 2014 Microsoft