5.115.9 LDAPDisplayNameFromAttrTyp

 Procedure LDAPDisplayNameFromAttrTyp (
      [in] attrTyp: ATTRTYP
     ) : LDAPString

Informative summary of behavior: The LDAPDisplayNameFromAttrTyp procedure transforms an attribute type (ATTRTYP) to an attribute name that is used by the LDAP clients.

  
  
 oid : OID
 attributeDisplayName: LDAPString
 attrObj: DSName
  
  
 oid := OidFromAttid(dc.prefixTable, attrTyp)
 attrObj := select o from subtree SchemaNC() where
                  (attributeSchema in o!objectClass) and
                  (o!attributeID = oid)
 attrDisplayname := attrObj!LDAPDisplayName
  
  
 return attrDisplayName
Show: