Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > LoginHistoryQueryPageExecutes a query against the list of user login history, and returns a subset of the records that match the search criteria set by the method arguments. UsageYou use the LoginHistoryQueryPage method to view the Login History for a user. This is the same information that is displayed in the Company Administration, Sign In Audit page in the Oracle CRM On Demand application. As an example of how you might use this data, you might save the data in a CSV file and then import it into a spreadsheet. You could then use the spreadsheet to generate a report showing, for example, how often a user logs into Oracle CRM On Demand. ArgumentsTable 58 describes the arguments taken by the LoginHistoryQueryPage method. Return Value of the CallThe following information is returned for each usage record. A list of user login history. The following are the child elements of ListOfLoginHistory:
Sample SOAP Request - LoginHistoryQueryPageThe following SOAP request queries against the list of user login history to return a login record that occurred after the timestamp of 08/01/2011 00:00:00. It also demonstrates the use of the optional <PageSize> and <StartRowNum> arguments to return one record at row 1 (second record). <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsse:Username>%%%USERNAME%%%</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password> <LoginHistoryWS_LoginHistoryQueryPage_Input xmlns="urn:crmondemand/ws/loginhistory/"> <LoginTimestamp>>='08/01/2011 00:00:00'</LoginTimestamp> </LoginHistoryWS_LoginHistoryQueryPage_Input> Sample SOAP ResponseThe following response contains the requested login history: <?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ns:LoginHistoryWS_LoginHistoryQueryPage_Output xmlns:ns="urn:crmondemand/ws/loginhistory/"> <ns:LastPage>false</ns:LastPage> <ListOfLoginHistory xmlns="urn:/crmondemand/xml/loginhistory"> <UserAlias>Joanne Brown</UserAlias> <LoginName>%%%USERNAME%%%</LoginName> <LoginStatus>Success</LoginStatus> <LoginTimestamp>08/02/2011 13:53:00</LoginTimestamp> <IPAddress>10.156.87.45</IPAddress> <AdditionalInformation></AdditionalInformation> <LogoutTimestamp>08/02/2011 13:59:00</LogoutTimestamp> |
Oracle Web Services On Demand Guide, Version 26.0 (Oracle CRM On Demand Release 38) | Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |