58.53 GET_GROUPS_USER_BELONGS_TO Function
This function returns a comma then a space separated list of group names to which the named user is a member.
Note:
This function operates on the native Oracle APEX user accounts repository and is only applicable to applications configured with Oracle APEX Accounts authentication.
Syntax
APEX_UTIL.GET_GROUPS_USER_BELONGS_TO (
p_username IN VARCHAR2 )
RETURN VARCHAR2;
Parameters
Parameter | Description |
---|---|
p_username |
Identifies the user name in the account. |
Example
The following example shows how to use the GET_GROUPS_USER_BELONGS_TO
to return the list of groups to which the user 'FRANK' is a member.
DECLARE
VAL VARCHAR2(32765);
BEGIN
VAL := APEX_UTIL.GET_GROUPS_USER_BELONGS_TO(p_username => 'FRANK');
END;
See Also:
EDIT_USER ProcedureParent topic: APEX_UTIL