Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > CURRENT_USER_IN...
CURRENT_USER_IN_GROUP Function |
![]() Previous |
![]() Next |
This function returns a Boolean result based on whether or not the current user is a member of the specified group. You can use the group name or group ID to identify the group.
Syntax
HTMLDB_UTIL.CURRENT_USER_IN_GROUP(
p_group_name IN VARCHAR2)
RETURN BOOLEAN;
HTMLDB_UTIL.CURRENT_USER_IN_GROUP(
p_group_id IN NUMBER)
RETURN BOOLEAN;
Parameters
Table: CURRENT_USER_IN_GROUP Parameters describes the parameters available in the CURRENT_USER_IN_GROUP function.
CURRENT_USER_IN_GROUP Parameters
| Parameter | Description |
|---|---|
|
|
Identifies the name of an existing group in the workspace |
|
|
Identifies the numeric ID of an existing group in the workspace |
Example
DECLARE VAL BOOLEAN; BEGIN VAL := HTMLDB_UTIL.CURRENT_USER_IN_GROUP(p_group_name=>'Managers'); END;