cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

What is the "permissionTarget" parameter in GetEntityListWithPermissionMask() service?

Michail
9-Granite

What is the "permissionTarget" parameter in GetEntityListWithPermissionMask() service?

I'm trying to determine a list of visible things for a particular user. Thanks for your help!

var tags = "vocabulary:tag";

var params = {

     permissionType: "PropertyRead" /* STRING */,

     maxItems: undefined /* NUMBER */,

     nameMask: undefined /* STRING */,

     permissionTarget: "William.Shatner" /* STRING */,

     type: "Thing" /* STRING */,

     tags: tags /* TAGS */

};

// result: INFOTABLE dataShape: RootEntityList

var result = Resources["EntityServices"].GetEntityListWithPermissionMask(params);

1 ACCEPTED SOLUTION

Accepted Solutions
smanley
13-Aquamarine
(To:Michail)

Hello,

The permissionTarget will be the name of the service or property that the permission has been set for.

View solution in original post

1 REPLY 1
smanley
13-Aquamarine
(To:Michail)

Hello,

The permissionTarget will be the name of the service or property that the permission has been set for.

Top Tags