Im creating a SharePoint-hosted app (restricted to use client side code only), and I want to retrieve documents from a library. Each document have a Target audience field.
I want to, in javascript:
- Read the Global audience from the list item
- Detect if current user belongs to the Global audience.
Is this even possible? I have browsed the web a lot for this.