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

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