| set_defaultgroup procedure

Related topics
Contained in package wwsec_api. Call this procedure to set the default group for a specified user. Note: The default group is the group that the preference system will use if no user-level preferences are specified for a given setting. procedure set_defaultgroup ( p_groupid in number, p_username in varchar2 default wwctx_api.get_user );

Version: Oracle Portal 3.0.6.6.5 or later
Parameters:
p_groupid | The unique identifier for the default group, or null if no preference. Datatype: in number
p_username | The name of the user for whom the default group should be defined. Note: Parameter p_username defaults to the current user. Datatype: in varchar2 Default: wwctx_api.get_user
Exceptions: If a problem occurs while running this procedure, an UNEXPECTED_EXCEPTION is raised. Example: wwsec_api.set_default_group ( p_groupid => wwsec_api.group_id ('PORTAL_ADMIN'), p_username => 'USER1' );

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