4.1.4.2.25 IsDomainOnly

Informative summary of behavior: The function determines whether the given DSName is one of the domain NCs present in the forest.

 procedure IsDomainOnly(obj: DSName): boolean
  
 cr: DSName
  
 /* Confirm that obj is a domainNC in the forest of the server. */
 cr := select one domainNC from subtree ConfigNC() where
   (crossRef in domainNC!objectClass and
    domainNC!nCName = obj!distinguishedName)
 if cr = null then
   return FALSE
 else
   return TRUE
 endif