That depends on the approach you are using to restrict editing in your document. For example, if you are using the Document Protection
feature and protection is enforced over the current document, here is how you can obtain the range where the caret is located and determine if the current user has rights to edit:
var range =
I hope this is useful.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.