uidoc.gotofield(SW) is written for more than 15 times…
Now I want to design the functionality which will allow only authorized person to edit. I designed this fucntionality but it is allowing all users to edit. Is this because the statement
uidoc.gotofield(SW) is overcoming the designed functionality?
If you want only authorized people to edit a document, your only save options are reader fields and access controlled sections. Any other logic can be bypassed.
In other words: If unauthorized people can edit the document (be it because of uidoc.gotofield() or not, you don’t use a save mechanism.