| is_group_owner function

Related topics
Contained in package wwsec_api. Call this routine to determine if the specified group member is an owner of the specified group. It returns 1 if the specified group member is an owner of the group, 0 if not. function is_group_owner ( p_member_id in number ) return number;

Version: Oracle Portal 3.0.6.6.5 or later Deprecated: Oracle9iAS Portal 9.0.2
Parameters:
p_member_id | The identifier of the member record from the group. Note: The member ID can be obtained from the list_member_record obtained from a call to wwsec_api.get_list_members Datatype: in number
Returns: This function returns 1 when the member is an owner of the group, 0 if not. Exceptions: 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_owner number; l_memberarray wwsec_api.list_member_array; l_memberarray wwsec_api.get_list_members ( p_group_id => wwsec_api.group.id ('DBA') ( l_owner := wwsec_api.is_group_owner ( p_member_id => l_memberarray (1).id );

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