obj_users(path)
Returns the list of users that have specifically been given permission to access the object at the given path. (Available as of version 10.24)
Syntax
obj_users(path)
Input
Argument | Type | Description |
---|---|---|
path |
text | A path to an object (e.g., table, folder, query) The If |
Return Value
Returns a text value consisting of a comma-separated list corresponding to the users who
have permission to access the object at the specified path
.
Returns an empty string if the path
does not
exist.
Example
The following example demonstrates the behavior of obj_users(path)
using
the values in the example_path
column specified via the
<table>
element.
<table cols="example_path">pub.demo.retail; pub.demo.retail.item; pub.demo.retail.foo; pub.doc.samples.weather_g_rshift; foo; ; </table> <col name="example_path" format="width:35"/> <willbe name="obj_users_result" value="obj_users(example_path)"/>
path
parameter is equal to the empty string,
the function returns information corresponding to the root-level folder in the 1010data Insights
Platform, which contains all of the top-level folders (e.g.,
pub, default,
uploads).