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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

how to use Resources["SecurityServices"].EvaluateRuntimePermission(params)

xsu
3-Newcomer
3-Newcomer

how to use Resources["SecurityServices"].EvaluateRuntimePermission(params)

let params = {
resource: '' /* STRING */,
name: '' /* STRING */,
permission: '' /* STRING */,
type: '' /* STRING */
};
 
// result: BOOLEAN
let result = Resources["SecurityServices"].EvaluateRuntimePermission(params);

I couldn't find any documentation for the parameters, Can someone tell me the meaning of each item in the params ?
ACCEPTED SOLUTION

Accepted Solutions

resource: '*' /* STRING */,
name: 'Entity Name' /* Ex. Test_Thing */,
permission: 'Permission Type' /* Ex. PropertyRead, PropertyWrite, ServiceInvoke */,
type: 'Type of Entity' /* Ex. Thing */

View solution in original post

1 REPLY 1

resource: '*' /* STRING */,
name: 'Entity Name' /* Ex. Test_Thing */,
permission: 'Permission Type' /* Ex. PropertyRead, PropertyWrite, ServiceInvoke */,
type: 'Type of Entity' /* Ex. Thing */

Announcements


Top Tags