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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

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

Michail
10-Marble

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);

ACCEPTED SOLUTION

Accepted Solutions
smanley
14-Alexandrite
(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
14-Alexandrite
(To:Michail)

Hello,

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

Announcements


Top Tags