ddGetObjAccessEx
ddGetObjAccessEx(
b_objId
t_which
x_pathType
)
=> t_access / nil
Description
Retrieves the UNIX access rights of the person specified by t_which to the object designated by b_objId. This function is similar to ddGetObjAccess except that you can specify whether to look for the object in the temporary directory or the master directory, or both, with the x_pathType argument.
Arguments
|
b_objId
|
Object ID returned by ddCreateLib or ddGetObj.
|
|
t_which
|
One of the following values: o (owner), g (group), or p (public).
|
|
x_pathType
|
One of the following integer values:
-
0
Looks for the object only in the master directory -
1
Looks for the object only in the temporary directory -
2
Looks for the object in the temporary directory first; if it is not found, looks for it in the master directory. However, if the object is a library, returns information about the library itself (the master directory), not its temporary directory.
|
Value Returned
|
t_access
|
A string consisting of the letters r, w, and x corresponding to UNIX usage.
|
|
nil
|
There are no permissions.
|
Related Topics
ddGetObjAccess
Return to top