Oracle9iAS Portal Developer Kit

users_in_group function

Contained in package wwsec_api.

Call this function to return a list of all the users in a specified group.

function users_in_group

(

p_group_id in number

)

returns array;

Version: Oracle Portal 3.0.6.6.5 or later
Deprecated: Oracle9iAS Portal 9.0.2

Parameter:

p_group_id

The unique identifier of a group.

Datatype: in number

Returns:

This function returns an array of user names.

Exceptions:

  • If p_group_id does not exist, a GROUP_NOT_FOUND_EXCEPTION is raised.

  • If a problem occurs for which an exception has not been defined, an UNEXPECTED_EXCEPTION is raised.

  • (Oracle9iAS Portal 9.0.2 or later) If this function is invoked, a DEPRECATED_API_EXCEPTION is raised.

Example:

l_username_array wwsec_api.array;

l_username_array := wwsec_api.users_in_group

(

p_group_id => 12

);

Related topics

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