Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

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

d_techFileId

The database identifier of the technology file.

t_sectionName

The name of the technology file section.

Value Returned

l_permissions

A list of the permissions explicitly set on the specified section in the technology file.

nil

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
 ⠀
X