Take a survey

Developing Applications Using APIs > Protecting Documents with Policies > Searching for Events > Searching for events using the web service API

Searching for events using the web service API
To search for events using the web service API, perform the following tasks:
1.
2.
Using the Microsoft .NET client assembly, create a RightsManagementServiceService object by invoking its default constructor. Next, set authentication values required to invoke LiveCycle ES.
3.
Create an EventSpec object by using its constructor.
Set the event to search for by assigning a numeric value to the EventSpec object’s event data member. The following table lists the numeric values that you can assign to this property:
 
4.
Search for the event by invoking the RightsManagementServiceService object’s searchForEvents method and passing the EventSpec object that represents the event for which to search. This method returns a mapItem object that contains the following keys:
count - An integer value specifying the count of matching events.
firstTime - A String value specifying the time of the first event.
lastTime - A String value specifying the time of the last event.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/policiesSeachingEvents.85.4.html