Hi,
For a workflow i need to understand permissons using o'script as the lines below .
Integer iInitiatorPerms = $PSee + $PSeeContents | $PModify | $PDeleteVersions | $PCheckout
if (!bIniPermsExist)
dyResult = llnode.NodeRightAdd(wfcopy,initiatorID,iInitiatorPerms)
if(isError(dyResult))
aRetVal.ok = false
aRetVal.errMsg = 'Could Not Add Initiator Permissions'
goto exitSub
end
else
dyResult = llnode.NodeRightUpdate(wfcopy,initiatorID,iInitiatorPerms)
So whats the difference between Add and Update, also i beleive the number of arguments for Update is wrong since i am getting errors around them?
If i modify the code above as
if (!bIniPermsExist)
Integer iInitiatorPerms = $PSee + $PSeeContents | $PModify | $PDeleteVersions | $PCheckout
dyResult = llnode.NodeRightAdd(wfcopy,initiatorID,iInitiatorPerms)
Does not it work the same?
Thanks,