Skip navigation
Currently Being Moderated

Return a List of Files for Specific User

May 25, 2011 1:08 PM

Hi all,

 

I need the list of files that a specific user has permission to access them.

If a web service do this for me it's great!

 

Thanks!

 

Rodrigo

 
Replies
  • Currently Being Moderated
    May 26, 2011 12:58 PM   in reply to Rodrigo_Oliveira

    I don't believe what you would like to do is possible.  You would need to determine which "principals" (users) where included in which policies, and then determine which policies were applied to which documents.

     

    Using the APIs ( http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html ) you can search on the Policies, and get the Polciy Entries (which in turn contain the Principals), but there is no API that I am aware of to allow you to search documents based on the policy that was applied to them.

     

    Regards

    Steve

     
    |
    Mark as:
  • Currently Being Moderated
    May 27, 2011 7:53 AM   in reply to Rodrigo_Oliveira

    Rodrigo

     

    When a policy is applied to a document, a unique "license id" is created.  You can use the API's (com.adobe.livecycle.rightsmanagement.client.infomodel) to get the licence (getID), then the getDocumentName to retrieve the name of the document associated with the license.

     

    Regards

    Steve

     
    |
    Mark as:
  • Currently Being Moderated
    May 30, 2011 11:13 AM   in reply to Rodrigo_Oliveira

    In LiveCycle, users and groups are handled with "User Manager".  There is a "getGroupMemberships" method that is part of the com.adobe.idp.um.api.infomodel class.  It retrieves a set of Group objects indicating those groups to which the principal (user) belongs.

     

    Regards

    Steve

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 5, 2011 1:42 AM   in reply to Rodrigo_Oliveira

    Or you could just use this to Inspect the policy-protected document:

     

    http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?con tent=000357.html#1549157

     

    Diego

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points