API Reference
Class
NonAdminDelegationFinder
Finds accounts trusted for delegation that do not have adminCount set.
Inheritance
- Object
- NonAdminDelegationFinder
Methods
public static IEnumerable<String> FilterAccounts(IEnumerable<ValueTuple<String, Int32, Nullable<Int32>>> accounts) #Returns:
IEnumerable<String>Filters provided account data to those trusted for delegation but lacking adminCount.
Parameters
- accounts System.Collections.Generic.IEnumerable{System.ValueTuple{System.String,System.Int32,System.Nullable{System.Int32}}}
- Tuple of account name, userAccountControl value and adminCount.
Returns
Collection of SAM account names.
public static IEnumerable<String> GetAccounts(String domainName) #Returns:
IEnumerable<String>Searches the specified domain for users and computers that have the TRUSTED_FOR_DELEGATION flag but do not have adminCount=1.
Parameters
- domainName System.String
- Domain to query.
Returns
Collection of SAM account names.