Article ID: 321538 - Last Review: September 30, 2004 - Revision: 1.2 All members of a group may not be returned when you enumerate members of a group by using the Active Directory Service Interfaces WinNT providerThis article was previously published under Q321538 On This PageSYMPTOMSWhen you enumerate members of a group by using the Active Directory Service Interfaces (ADSI) WinNT
provider, and you use a binding string, a problem may occur. Some members of the group may not be returned
if the group that you are enumerating has members of the following:
WORKAROUNDYou can use the GetObject
method to obtain the full member list. The GetObject method uses the credentials for the currently logged on user. The following code example demonstrates this. For additional information about how to impersonate a user, click the following article number to view the article in the Microsoft Knowledge Base: 248187
(http://support.microsoft.com/kb/248187/
)
How to impersonate a user from Active Server Pages
STATUS This
behavior is by design. MORE INFORMATIONSteps to reproduce the problemThe Active Directory Service Interfaces WinNT provider does not connect to more than one server to compile the member list. This problem occurs if explicit credentials are passed. Therefore, only a partial member list is returned. For example, if you run the following script to enumerate a local group that contains a group from a trusted domain, all members of the group are returned, except the group from the trusted domain.For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 218497
(http://support.microsoft.com/kb/218497/
)
How to impersonate a user from Active Server Pages
REFERENCESFor additional information about programming with Active Directory Service Interfaces, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/en-us/library/aa772170.aspx
(http://msdn.microsoft.com/en-us/library/aa772170.aspx)
APPLIES TO
| Article Translations
|
Back to the top
