UserManager


Click here for a complete list of operations.

GetUserRolesByUserId

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /UserManagerService.asmx HTTP/1.1
Host: enterpriseservices.acolad.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://services.sajan.com/GetUserRolesByUserId"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetUserRolesByUserId xmlns="http://services.sajan.com/">
      <request>
        <UserId>int</UserId>
      </request>
    </GetUserRolesByUserId>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetUserRolesByUserIdResponse xmlns="http://services.sajan.com/">
      <GetUserRolesByUserIdResult>
        <items>
          <ServiceUserRole>
            <ClientId xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientId>
            <ClientName xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientName>
            <DivisionId xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionId>
            <DivisionName xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionName>
            <FirstName xmlns="https://services.sajan.com/schemas/ProjectService">string</FirstName>
            <LastName xmlns="https://services.sajan.com/schemas/ProjectService">string</LastName>
            <RoleDescription xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleDescription>
            <RoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleId>
            <UserId xmlns="https://services.sajan.com/schemas/ProjectService">int</UserId>
            <UserRoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</UserRoleId>
          </ServiceUserRole>
          <ServiceUserRole>
            <ClientId xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientId>
            <ClientName xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientName>
            <DivisionId xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionId>
            <DivisionName xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionName>
            <FirstName xmlns="https://services.sajan.com/schemas/ProjectService">string</FirstName>
            <LastName xmlns="https://services.sajan.com/schemas/ProjectService">string</LastName>
            <RoleDescription xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleDescription>
            <RoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleId>
            <UserId xmlns="https://services.sajan.com/schemas/ProjectService">int</UserId>
            <UserRoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</UserRoleId>
          </ServiceUserRole>
        </items>
      </GetUserRolesByUserIdResult>
    </GetUserRolesByUserIdResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /UserManagerService.asmx HTTP/1.1
Host: enterpriseservices.acolad.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetUserRolesByUserId xmlns="http://services.sajan.com/">
      <request>
        <UserId>int</UserId>
      </request>
    </GetUserRolesByUserId>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetUserRolesByUserIdResponse xmlns="http://services.sajan.com/">
      <GetUserRolesByUserIdResult>
        <items>
          <ServiceUserRole>
            <ClientId xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientId>
            <ClientName xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientName>
            <DivisionId xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionId>
            <DivisionName xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionName>
            <FirstName xmlns="https://services.sajan.com/schemas/ProjectService">string</FirstName>
            <LastName xmlns="https://services.sajan.com/schemas/ProjectService">string</LastName>
            <RoleDescription xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleDescription>
            <RoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleId>
            <UserId xmlns="https://services.sajan.com/schemas/ProjectService">int</UserId>
            <UserRoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</UserRoleId>
          </ServiceUserRole>
          <ServiceUserRole>
            <ClientId xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientId>
            <ClientName xmlns="https://services.sajan.com/schemas/ProjectService">string</ClientName>
            <DivisionId xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionId>
            <DivisionName xmlns="https://services.sajan.com/schemas/ProjectService">string</DivisionName>
            <FirstName xmlns="https://services.sajan.com/schemas/ProjectService">string</FirstName>
            <LastName xmlns="https://services.sajan.com/schemas/ProjectService">string</LastName>
            <RoleDescription xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleDescription>
            <RoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</RoleId>
            <UserId xmlns="https://services.sajan.com/schemas/ProjectService">int</UserId>
            <UserRoleId xmlns="https://services.sajan.com/schemas/ProjectService">string</UserRoleId>
          </ServiceUserRole>
        </items>
      </GetUserRolesByUserIdResult>
    </GetUserRolesByUserIdResponse>
  </soap12:Body>
</soap12:Envelope>