SecurityService


Click here for a complete list of operations.

UserRightsListByUser

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 /RosecomUAT/Service/APIV1/SecurityService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UserRightsListByUser"

<?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>
    <UserRightsListByUser xmlns="http://tempuri.org/">
      <pUserLogin>
        <UserName>string</UserName>
        <Password>string</Password>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <MiddleName>string</MiddleName>
        <FullName>string</FullName>
        <IsActive>boolean</IsActive>
        <IsPrimaryContact>boolean</IsPrimaryContact>
        <DateJoined>dateTime</DateJoined>
        <Title>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </Title>
        <Email>string</Email>
        <WorkPhone>string</WorkPhone>
        <Extention>string</Extention>
        <HomePhone>string</HomePhone>
        <Mobile>string</Mobile>
        <LoggedInSiteID>int</LoggedInSiteID>
        <SiteName>string</SiteName>
        <IsPasswordSetToExpire>boolean</IsPasswordSetToExpire>
        <PasswordExpiringDays>int</PasswordExpiringDays>
        <IsChangePasswordNextLogin>boolean</IsChangePasswordNextLogin>
        <PasswordCreatedDate>dateTime</PasswordCreatedDate>
        <DBDate>dateTime</DBDate>
        <StockLocation>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </StockLocation>
        <DefaultSite>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </DefaultSite>
        <AllowedApplicationIDs>
          <int>int</int>
          <int>int</int>
        </AllowedApplicationIDs>
        <Designation>string</Designation>
        <GroupIDList>
          <int>int</int>
          <int>int</int>
        </GroupIDList>
        <UserRightList>
          <int>int</int>
          <int>int</int>
        </UserRightList>
        <IsAPIUser>boolean</IsAPIUser>
      </pUserLogin>
      <pAuthentication>
        <UserName>string</UserName>
        <Password>string</Password>
        <DealerCode>string</DealerCode>
        <PasswordLevel2>string</PasswordLevel2>
        <IsAuthenticated>boolean</IsAuthenticated>
        <NewPassword>string</NewPassword>
        <EmployeeID>int</EmployeeID>
        <AppServerPath>string</AppServerPath>
        <IsAPIUser>boolean</IsAPIUser>
      </pAuthentication>
    </UserRightsListByUser>
  </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>
    <UserRightsListByUserResponse xmlns="http://tempuri.org/">
      <UserRightsListByUserResult>
        <IsError>boolean</IsError>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <BusinessObjectList>
          <UserRight>
            <FunctionID>int</FunctionID>
            <Name>string</Name>
            <IsOverride>boolean</IsOverride>
            <DepartmentID>int</DepartmentID>
            <UserGroupTypeID>int</UserGroupTypeID>
          </UserRight>
          <UserRight>
            <FunctionID>int</FunctionID>
            <Name>string</Name>
            <IsOverride>boolean</IsOverride>
            <DepartmentID>int</DepartmentID>
            <UserGroupTypeID>int</UserGroupTypeID>
          </UserRight>
        </BusinessObjectList>
        <ActualRecordsCount>int</ActualRecordsCount>
        <MetaData>string</MetaData>
      </UserRightsListByUserResult>
    </UserRightsListByUserResponse>
  </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 /RosecomUAT/Service/APIV1/SecurityService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.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>
    <UserRightsListByUser xmlns="http://tempuri.org/">
      <pUserLogin>
        <UserName>string</UserName>
        <Password>string</Password>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <MiddleName>string</MiddleName>
        <FullName>string</FullName>
        <IsActive>boolean</IsActive>
        <IsPrimaryContact>boolean</IsPrimaryContact>
        <DateJoined>dateTime</DateJoined>
        <Title>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </Title>
        <Email>string</Email>
        <WorkPhone>string</WorkPhone>
        <Extention>string</Extention>
        <HomePhone>string</HomePhone>
        <Mobile>string</Mobile>
        <LoggedInSiteID>int</LoggedInSiteID>
        <SiteName>string</SiteName>
        <IsPasswordSetToExpire>boolean</IsPasswordSetToExpire>
        <PasswordExpiringDays>int</PasswordExpiringDays>
        <IsChangePasswordNextLogin>boolean</IsChangePasswordNextLogin>
        <PasswordCreatedDate>dateTime</PasswordCreatedDate>
        <DBDate>dateTime</DBDate>
        <StockLocation>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </StockLocation>
        <DefaultSite>
          <ID>int</ID>
          <Name>string</Name>
          <DataType>int</DataType>
        </DefaultSite>
        <AllowedApplicationIDs>
          <int>int</int>
          <int>int</int>
        </AllowedApplicationIDs>
        <Designation>string</Designation>
        <GroupIDList>
          <int>int</int>
          <int>int</int>
        </GroupIDList>
        <UserRightList>
          <int>int</int>
          <int>int</int>
        </UserRightList>
        <IsAPIUser>boolean</IsAPIUser>
      </pUserLogin>
      <pAuthentication>
        <UserName>string</UserName>
        <Password>string</Password>
        <DealerCode>string</DealerCode>
        <PasswordLevel2>string</PasswordLevel2>
        <IsAuthenticated>boolean</IsAuthenticated>
        <NewPassword>string</NewPassword>
        <EmployeeID>int</EmployeeID>
        <AppServerPath>string</AppServerPath>
        <IsAPIUser>boolean</IsAPIUser>
      </pAuthentication>
    </UserRightsListByUser>
  </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>
    <UserRightsListByUserResponse xmlns="http://tempuri.org/">
      <UserRightsListByUserResult>
        <IsError>boolean</IsError>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <BusinessObjectList>
          <UserRight>
            <FunctionID>int</FunctionID>
            <Name>string</Name>
            <IsOverride>boolean</IsOverride>
            <DepartmentID>int</DepartmentID>
            <UserGroupTypeID>int</UserGroupTypeID>
          </UserRight>
          <UserRight>
            <FunctionID>int</FunctionID>
            <Name>string</Name>
            <IsOverride>boolean</IsOverride>
            <DepartmentID>int</DepartmentID>
            <UserGroupTypeID>int</UserGroupTypeID>
          </UserRight>
        </BusinessObjectList>
        <ActualRecordsCount>int</ActualRecordsCount>
        <MetaData>string</MetaData>
      </UserRightsListByUserResult>
    </UserRightsListByUserResponse>
  </soap12:Body>
</soap12:Envelope>