Integer vs. Enumeration

  • Thread starter Thread starter Tota Ram
  • Start date Start date
T

Tota Ram

Hi all,

I want to store an integer attribute with rangeLower = 0 and
rangeUpper = 100. In AD the Integer type (oMSyntax=2) and Enumeration
type (oMSyntax=10) could be used for that attribute but I'm not sure
which type to use. Does anyone know if it makes a difference to the
LDAP application using it or maybe the storage used in the directory?

Thanks,
HB
 
To a pure LDAP API, there is going to be no difference that I can think
of. Either way, you are getting a string representation of a number when
you request it. An ADSI or NET app may do something different with it
based on its type but I am not sure.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm
 
Back
Top