techGetPermission
techGetPermission(d_techFileID t_sectionName) =>l_permissions/ nil
Description
Returns the permissions explicitly applied to the specified section in the specified technology database.
Arguments
Value Returned
|
A list of the permissions explicitly set on the specified section in the technology file. |
|
|
The technology file does not exist, the section does not exist, or no permissions are explicitly set on it. |
Example
techGetPermission(tfID "layerDefinitions")
=> (("joe") nil)
Gets and displays the permissions assigned to the layerDefinitions section in the technology file with the database identifier stored in tfID; it displays the names of users with read-only permission first (joe), followed by the names of users with read/write permission (nil).
techGetPermission(tfID "constraintGroups")
=> (("fred" "jim")
("mary" "bob")
)
Lists the permissions explicitly assigned to the contraintGroups section of the technology file identified by tfID.
Return to top