how to set RUNTIMEPERMISSION for specific service?
Hi, I need to set run time permission for specific service(eg. ChangePassword() ) to particular users.
I tried using AddRunTimePermission() but I am getting invalid service name error.
Users[testUser].AddRunTimePermission({
allow: true /* BOOLEAN */ ,
principal: testUser/* STRING */ ,
resource: "ChangePassword" /* STRING */ ,
type: "ServiceExecute" /* STRING */ ,
principalType: "User" /* STRING */
});
err : 36JavaException: java.lang.Exception: Invalid Permission Type : [ServiceExecute]

