Sit back, take a deep breath and let's think of something new. Exhale. Breath normal. Ready. Okay, Let's not lock users out, but instead, let's give them control based on their needs and username. Here's a simple function that I use to set the command value of zx differently for me than anybody else using the same function.
(defun c:zx ()
(if (= (strcase (getvar "loginname") t) "drogers")
(command ".zoom" "")
(command ".zoom" ".9X")
)
(princ)
)
You'll notice in the command above I have my username set as the true case. So, the way it reads is (if (users loginname converted to lowercase)= the string "drogers" then use real time zoom, otherwise, use zoom scale .9x).
Zoom .9x is something my users wanted to use, but I find the rtzoom more to my liking. This was my solution. The cond statement is the same way, except you need to know all the other usernames included and you'll have to update your code with the advent of new hires and username changes. These are just some things to consider. If you have a high employee turnover rate, your original idea might be what you're after afterall, although, your users might not like to type in their name everytime they open autocad. Most of them might just hit escape and there go all your standards. Autocad will continue on regardless. One more thing to consider is limit your user interaction. This may seem dictatorial, but what they don't know won't hurt them, in this case and you can give them flexibility by finding out how they like to work and adjust your standards for how they like to work. I don't know anybody who likes to be told how to to the job. Give them the tools to do the job i.e. layers, but give them the flexiblity to add a toolbar or change the color of their command panel. I personally use a blue background with a cyan text. It feels like the ocean to me and keeps me relaxed. another guy here likes black background with white text. I'm sure he has his reasons. What I'm getting at is, your users are individuals who react to situations in different ways. Let them decide what they like to see and how they like to use autocad. You set up the standards that should be adhered to behind the scenes and you should be able to create a good, productive working atmosphere. I too like Stig's answer as far as code goes, but consider what is best for you and your team.