Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Users

Direct answer

A user object combines directory identity data with security-principal properties such as SID and logon names. Authentication validates credentials; authorization evaluates the resulting security context against resource permissions.

When to use this

Use this topic for user-object identity, naming, enable/disable state, account attributes, SID/UPN concepts and directory-side user troubleshooting.

First 30 seconds

1. Get-ADUser <u> -Properties Enabled,LockedOut,PasswordLastSet,LastLogonDate.

2. Locked: Unlock-ADAccount; source: Event 4740 on the PDC.

3. Group membership: Get-ADPrincipalGroupMembership.

4. OU placement for GPOs.

5. Stale accounts: Search-ADAccount -AccountInactive.

Operational verification

user object → authentication → groups in token → GPOs by OU

Evidence · next step

Test the relevant authentication protocol or compare another DC if replication timing is suspected.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not reset passwords, unlock accounts or alter group memberships until the actual failing step is confirmed. These changes can mask the original cause and introduce new state.

Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity
Key commandGet-ADUser alice -Properties LastLogonDate,PasswordLastSet,LockedOut,MemberOf
Scope / prerequisiteUse this topic for user-object identity, naming, enable/disable state, account attributes, SID/UPN concepts and directo…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Read the user from a known DC, confirm SID/names/account state, then perform a controlled authentication test and independently verify authorization if access to a resource is the real goal.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • User object existence is separate from account enabled state and credential validity.
  • SID is the durable Windows security identifier; display name/UPN can change.
  • UPN, sAMAccountName and distinguished name serve different purposes.
  • Group membership in AD is not identical to the groups present in an already-issued access token.
Key checks
  • Get-ADDomain — domain details and FSMO holders
  • Get-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog — DCs
  • dcdiag /v /e /q — DC health tests (errors only with /q)
  • repadmin /replsummary — replication summary
  • nltest /dsgetdc:<domain> — DC locator
ReferenceWhat it is1 section · depth on demand

Core model

User objects are both directory records and security principals. Troubleshooting should keep object identity, account state, credentials, authentication protocol, token issuance and resource authorization as separate checkpoints.

ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Use SID or other stable identifiers when ambiguity exists. Record the DC that supplied account state because replicated changes can create short-lived differences between replicas.

In depth

User account management in AD:

New-ADUser -Name 'Alice Jensen' -SamAccountName ajensen -UserPrincipalName ajensen@corp.example.com -Path 'OU=Users,OU=Corp,DC=corp,DC=example,DC=com' -AccountPassword (Read-Host -AsSecureString) -Enabled $true
Get-ADUser ajensen -Properties LastLogonDate,PasswordLastSet,LockedOut,MemberOf
Search-ADAccount -LockedOut; Unlock-ADAccount ajensen
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -UsersOnly
Set-ADAccountPassword ajensen -Reset -NewPassword (Read-Host -AsSecureString); Set-ADUser ajensen -ChangePasswordAtLogon $true

LastLogonDate (lastLogonTimestamp) replicates with up to ~14 days lag — fine for stale-account reports, not for exact last logon.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

User commands

New-ADUser -Name "Alice Hansen" -SamAccountName alice -UserPrincipalName alice@example.com -Path "OU=Users,DC=example,DC=com" -Enabled $true -AccountPassword (Read-Host -AsSecureString)
Get-ADUser alice -Properties LastLogonDate,PasswordLastSet,LockedOut,MemberOf
Unlock-ADAccount alice
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -UsersOnly

Documented example, not captured output. Disable rather than delete leavers first; review inactive accounts monthly.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

Authoritative/upstream documentation reviewed for bounded claims in Active Directory Domain Services → Users. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ad useractive directory userdomain useruser object
Embedded reference data

Quick lookup tables

Active Directory Domain Services → Users reference map

Fast lookup boundaries for Active Directory Domain Services → Users.

BoundaryMeaningEvidence limit
DNDirectory locationchanges on move/rename
SIDSecurity identityused by ACL/token
UPNUser-style logon namecan differ from DNS domain
Account stateEnabled/locked/expirynot password/auth proof
Confirmation

Confirm action

Continue?