| accessible_objects function (specified privilege)

Related topics
Contained in package wwsec_api. Call this routine to return a site-specific list of accessible objects of a specified type to which a user or a group to which the user belongs, given a certain object_type_name and privilege. function accessible_objects ( p_object_type_name in varchar2, p_privilege in varchar2, p_owner in varchar2 default wwctx_api.get_product_schema ) return array;

Version: Oracle Portal 3.0.6.6.5 or later
Parameters:
p_object_type_name | The name of the type of object referenced. Note: These names can be specified with object_type_name constants. For example, ADMIN_OBJ, ITEM_OBJ, or another object type name. Datatype: in varchar2
p_privilege | The name of the privilege to be found. Note: These names are specified with privilege name constants of the wwsec_api package. Datatype: in varchar2
p_owner | The name of the schema that owns the Access Control List entry, or another name space discriminator. Datatype: in varchar2 Default: wwctx_api.get_product_schema
Returns: This function returns an array containing a list of objects of a specified type, and on which a specified privilege has been granted to a user or a group to which the user belongs. Exceptions: If the specified object type does not exist in the site, a NO_ACCESSIBLE_OBJECT_EXCEPTION is raised. Example: l_array wwsec_api.array; l_array := wwsec_api.accessible_objects ( p_object_type_name => wwsec_api.PAGE_OBJ, p_privilege => wwsec_api.OWN_PRIV );

Related topics
Security API package | PDK PL/SQL API Reference - Home

Back to top
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio