-
Notifications
You must be signed in to change notification settings - Fork 3
2017 API dlibrary.vectorworks.VectorworksSecurity
Dieter Geerts edited this page Sep 24, 2016
·
1 revision
Decorator to secure a function based on the user id and/or VW version running.
If used together with other decorators, all decorators below will not be executed if permission is denied. So keep that in mind when applying multiple decorators to your function, as some may not be executed!
- object The most base type
__init__(self, version: str=None, user_ids: 'set[str]'=None, on_version_denied: '(str) ->
None'=None, on_user_id_denied: '(str) ->
None'=None)
:param user_ids: User id == last 6 digits of serial == dongle number!