What commands are there available in the privileges.inp file?
Question:
What commands are there available in the privileges.inp file?
Answer:
You can control the following items with privileges.inp:
1. Access to modify any user defined attribute - attribute:UDA_NAME
Access to modify object properties - attribute:OBJECT_LOCKED
2. Access to modify numbering settings - action:PartnumbersOptions
3. Access to remove users in multiuser model - action:AllowMultiuserKick
4. Access to save standard files - action:SaveStandard
When you want to give the right only to one user or some users, first you have to exclude everyone and then include the user(s).
1) You can control the access to any user-defined attributes.
attribute:UDA_NAME
You can control users' rights to modify object properties.
attribute:OBJECT_LOCKED
You can set the access right to "none", "view" or "full" to every UDA, except to OBJECT_LOCKED, which can be "none" or "full". “None” means that users cannot modify object properties.
2) You can define that undesired active multi-users can be removed from the user list (in Tekla Structures 14.0 and newer versions). Go to Tools > Active Multi-Users, right-click the undesired user, and select Clear locks. Then click the Refresh button to remove the user from the list.
Example:
action:AllowMultiuserKick everyone full
You can set the access right to "none" or "full".
3) You can disable Save/Save As for "standard" files.
Example:
action:SaveStandard everyone none
action:SaveStandard ORGANIZATION\admin full
You can set the access right to "none" or "full".
There are limitations of the control to save standard files: it works for model command (parts, bolts, rebars,...) and custom component only, but it does not works for example the Export IFC file or the drawing properties.
4) You can control the access to numbering properties.
action:PartnumbersOptions
Example:
action:PartnumbersOptions everyone none
action:PartnumbersOptions ORGANIZATION\admin full
You can set the access right to "none" or "full". “None” means that only the administrator can modify the properties in the Numbering Setup dialog box.
For more information, see Access rights in multi-user mode.