Skip to main content

Recommended primary keys

Active Directory

In a standard Active Directory environment, the following primary keys are typically used:

Referencing TableForeign KeyParent tablePrimary Key
MembershipsgroupGroupsobjectGUID
MembershipsmemberUsersobjectGUID
info

It is possible to use distinguishedName as a key for these tables, but it is recommended to use objectGUID when possible, because it is immutable.

Windows file system
Referencing TableForeign KeyParent tablePrimary Key