API Reference
Class
IdentityDirectoryResolver
Directory-aware resolver that enriches IdentityInfo with directory attributes. Prioritizes speed and resilience: targeted filters, SizeLimit=1, GC-first, bounded ServerTimeLimit; safe fallback is handled by IdentityLookup/Converter.
Inheritance
- Object
- IdentityDirectoryResolver
Methods
ResolveIdentityDetailed 2 overloads
public static IdentityInfo ResolveIdentityDetailed(SecurityIdentifier sid, Nullable<TimeSpan> timeLimit = null) #Returns:
IdentityInfoResolves an identity (SID, DN, UPN or SAM) using directory queries, falling back to lightweight resolver.
Parameters
- identity System.String
- Identity string (SID/DN/UPN/SAM).
- timeLimit System.Nullable{System.TimeSpan} = null
- Optional server time limit per query.
Returns
Resolved identity info with directory-enriched fields when available.
ResolveIdentityDetailed(System.Security.Principal.SecurityIdentifier sid, System.Nullable{System.TimeSpan} timeLimit) #Resolves a SID using GC/domain queries, with fallback to lightweight resolution.
Parameters
- sid System.Security.Principal.SecurityIdentifier
- Security identifier to resolve.
- timeLimit System.Nullable{System.TimeSpan}
- Optional server time limit per query.
Returns
Resolved identity info.