techGetPermissions
techGetPermissions(d_techFileID) =>l_permissions/ nil
Description
Returns the permissions explicitly applied to the specified technology database.
Arguments
Value Returned
Example
techGetPermissions( tfID )
=> (
("layerDefinitions"
("joe")
nil
)
("devices"
("joe")
("mary")
)
("constraintGroups"
("fred" "jim")
("mary" "bob")
)
)
Displays the permissions assigned to the technology file with the database identifier stored in tfID.Three sections in this technology file have permissions explicitly assigned. For the layerDefinitions section,
-
User
joehas read-only permission -
As indicated by
nil, no users are specifically assigned read/write permission, although all users exceptjoehave read/write permission by default
-
User
joehas read-only permission -
User
maryis specifically assigned read/write permission - All other users have read/write permission by default
-
Users
fredandjimhave read-only permission -
Users
maryandbobare specifically assigned read/write permission - All other users have read/write permission by default
Because no other sections have permissions explicitly assigned, all users have read/write access to them.
Return to top