2.222 Attribute sAMAccountName

This attribute specifies the logon name used to support clients and servers running LAN manager and older versions of the operating system, such as Windows NT 4.0 operating system, Windows 95 operating system, and Windows 98 operating system. This attribute has to be less than 20 characters to support older clients.

 cn: SAM-Account-Name
 ldapDisplayName: sAMAccountName
 attributeId: 1.2.840.113556.1.4.221
 attributeSyntax: 2.5.5.12
 omSyntax: 64
 isSingleValued: TRUE
 schemaIdGuid: 3e0abfd0-126a-11d0-a060-00aa006c33ed
 systemOnly: FALSE
 searchFlags: fPRESERVEONDELETE| fANR | fATTINDEX
 rangeLower: 0
 rangeUpper: 256
 attributeSecurityGuid: 59ba2f42-79a2-11d0-9020-00c04fc2d3cf
 isMemberOfPartialAttributeSet: TRUE
 systemFlags: FLAG_SCHEMA_BASE_OBJECT | 
  FLAG_ATTR_REQ_PARTIAL_SET_MEMBER 
 schemaFlagsEx: FLAG_ATTR_IS_CRITICAL

Version-Specific Behavior: First implemented on Windows 2000 Server operating system.

The schemaFlagsEx attribute was added to this attribute definition in Windows Server 2008 operating system.