API Reference
Class
Users (DirectoryQuery)
User-centric helpers.
Inheritance
- Object
- Users
Methods
public static async Task<List<UserRecord>> GetBySamAsync(String domainName, IEnumerable<String> samAccountNames, UserProperties propertySet = Basic, CancellationToken ct = null) #Returns:
Task<List<UserRecord>>Returns a subset of users by sAMAccountName within a single domain, using the existing UserGatherer for efficient, batched LDAP access (cached per domain/property set).
Parameters
- domainName System.String
- samAccountNames System.Collections.Generic.IEnumerable{System.String}
- propertySet ADPlayground.Helpers.UserProperties = Basic
- ct System.Threading.CancellationToken = null