I'm trying to find a way to have a python add-in enabled for specific users. The add-in will be installed in citrix arcmap so by default I'm told it will be accessible to anyone who has access to citrix arcmap.
I was thinking to enable an extension with the addin which would run during startup and do something like:
username = str(getpass.getuser())
if username in('person1','person2'):
The code executes fine (as far as determining who's logged in (although I have yet to test it in citrix)). But no matter what I try I cannot find the right line of code to disable the toolbar. Is it even possible?