共用方式為


2.120 Attribute primaryGroupID

This attribute specifies the relative identifier (RID) for the primary group of the user. By default, this is the RID for the Domain Users group. The user is a member of its primary group, although the group is not listed in the user's memberOf attribute. Likewise, a group object's member attribute will not list the user objects whose primaryGroupID is set to the group. For more information, refer to [MS-SAMR] section 3.1.1.8.2, [MS-ADTS], and [MS-ADA2] sections 2.43 and 2.45.

 cn: Primary-Group-ID
 ldapDisplayName: primaryGroupID
 attributeId: 1.2.840.113556.1.4.98
 attributeSyntax: 2.5.5.9
 omSyntax: 2
 isSingleValued: TRUE
 schemaIdGuid: bf967a00-0de6-11d0-a285-00aa003049e2
 systemOnly: FALSE
 searchFlags: fCOPY| fATTINDEX
 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.