My Oracle Support Banner

How to List all Groups in OID Using PL/SQL API / DBMS_LDAP? (Doc ID 2126424.1)

Last updated on OCTOBER 31, 2019

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.


How to list all groups that exist in Oracle Internet Directory (OID) using PL/SQL API / DBMS_LDAP?


1. There is very little error handling in the following sample code example. This is a very simple code sample that is used to illustrate the necessary calls to list all the groups in OID. The sample code below is NOT supported by Oracle Support.

2. The ldap server name, port, and authentication values have been hard coded into the sample code example. Ensure to change these values to fit your environment before compiling/running the provided code on another system.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.