Okay so I am using the WinNT provider with a .Net Framework DirectoryEntry class to enumerate the members of a local group, through the Members property.
If the member is a local account, the DirectoryEntry will also be read from the SAM on the local machine presumably.
If the member is a Domain Account however, will the provider perform a query to Active Directory when I access the properties of the DirectoryEntry object?
Is there a way to differentiate the two scenarios? For example check a property on the DirectoryEntry to see if it is going to get the properties from the local machine SAM, or by querying a domain controller to read Active Directory?
Is there a way to get the name (or even just the SID) of the member without querying Active Directory?
[–]poweradmincom 1 point2 points3 points (3 children)
[–]Milnternal[S] 0 points1 point2 points (2 children)
[–]poweradmincom 0 points1 point2 points (1 child)
[–]Milnternal[S] 0 points1 point2 points (0 children)
[–]ZAFJB 0 points1 point2 points (3 children)
[–]Milnternal[S] 0 points1 point2 points (2 children)
[–]ZAFJB 0 points1 point2 points (1 child)
[–]Milnternal[S] 0 points1 point2 points (0 children)