Programmers can access CDS through XDS (see The Directory Service Interfaces). They also use CDS indirectly when they use the Name Service routines of the RPC API.