Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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.