5.15 AttrtypFromSchemaObj

 procedure AttrtypFromSchemaObj(o: DSName): ATTRTYP

Given the dsname o of an attributeSchema or classSchema object, the AttrtypFromSchemaObj procedure returns the ATTRTYP that identifies this schema object on this DC.

  
 if o!msDS-IntId ≠ null then
   return o!msDS-IntId
 endif
 if attributeSchema in o!objectClass then
   return MakeAttid(dc.prefixTable, o!attributeID)
 else
   return MakeAttid(dc.prefixTable, o!governsID)
 endif