CA Service Management

  • 1.  find inactive users from wsdl service catalog

    Posted 07-28-2017 02:54 PM

    I would like to know how to use the wsdl http://CATALOG/usm/services/AccountService?Wsdl to find inactive users ([mdb]. [Dbo]. [Ca_contact] 'inactive' column = 1) ?


    another question: if i try to chance the status of user with changeAccountStatus nothing happens...




  • 2.  Re: find inactive users from wsdl service catalog

    Posted 07-28-2017 05:46 PM

    Accounts are different than users, you can take a look at the following for some information on accounts:


    Manage Accounts - CA Service Management - 14.1 - CA Technologies Documentation 


    To interact with the user object you will need to leverage the User Web Service methods (see Administration > Tools > Links > Web Services API > User Web Service).


    You can find users via the 'findUsers' method and you can activate/delete users via 'activateUser' and 'deleteUsers' methods.

  • 3.  Re: find inactive users from wsdl service catalog
    Best Answer

    Posted 07-31-2017 11:45 AM

    although you are right to say that the webservice for this action is wrong, the UserWebservice api doesnt have an "easy" way to show inactive users.

    When you use getAllUsers method, you don't get all users, you get only the active ones.


    To get a list of inactive users, you would have to use the findUsers  method,  with a filterBean of inactive equals 1, wich the documentation lacks a good example of (or any). A call would look like these:


    <soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:ser="" xmlns:soapenc="">
             <ser:findUsers soapenv:encodingStyle="">
             <sessionID xsi:type="xsd:string">?</sessionID>
             <filterBeanArr xsi:type="urn:ArrayOfFilterBean" soapenc:arrayType="urn:FilterBean[]" xmlns:urn="urn:usmRequestService">