Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ddGetObjAccess

ddGetObjAccess( 
b_objId 
t_which 
) 
=> t_access / nil 

Description

Retrieves the UNIX access rights of the person specified by t_which to the object designated by b_objId.

If the library containing the object has a temporary directory, this function looks for the object in the temporary directory first; if it is not found, it looks for it in the master directory. However, if the object itself is a library, this function returns information about the library, not its temporary directory.

Arguments

b_objId

Object ID returned by ddCreateLib or ddGetObj.

t_which

The values for which may be o (owner), g (group), and p (public).

Value Returned

t_access

A string consisting of the letters r, w, and x corresponding to UNIX usage.

nil

The string is empty if there are no permissions.

Examples

ddGetObjAccess( TTL7400libraryId "o" ) => "rwx"

Return to top
 ⠀
X