Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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);
Solved! Go to Solution.
Hello,
The permissionTarget will be the name of the service or property that the permission has been set for.
Hello,
The permissionTarget will be the name of the service or property that the permission has been set for.