Application Express User's Guide > Oracle Application Express ... > HTMLDB_CUSTOM_AUTH > GET_SECURITY_GROU...
This function returns a number with the value of the security group ID that identifies the workspace of the current user.
Syntax
FUNCTION GET_SECURITY_GROUP_ID RETURN NUMBER;