| is_user_in_direct_group function

Related topics
Contained in package wwsec_api. Call this function to check if a user is individually (directly) registered as a member of a specific group. If the specified user's membership in the specified group is the result of the user's membership in another group that is a member of the specified group (an indirect membership), this function returns FALSE. Example: A user can have an individual membership in the Oracle Portal Administrators group, or can have a membership in the Oracle Portal Administrators group by being a member of the DBA group, which is a member of the Oracle Portal Administrators group. If a membership in DBA causes this user to be a member of Oracle Portal Administrators, this function would return FALSE. If the user has a direct membership in Oracle Portal Administrators, this function would return TRUE. function is_user_in_direct_group ( p_person_id in number, p_group_id in number ) returns boolean;

Version: Oracle Portal 3.0.6.6.5 or later
Parameters:
p_person_id | A unique identifier for a person. Datatype: in number
p_group_id | A unique identifier for a group. Datatype: in number
Returns: This function returns TRUE or FALSE. Exceptions: Any exception returns FALSE. Example: l_boolean boolean; l_boolean := wwsec_api.is_user_in_direct_group ( p_person_id => 1, p_group_id => 12 );

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

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