Platform SDK: Active Directory, ADSI, and Directory Services |
The IDsDisplaySpecifier::IsClassContainer method determines if a given object is a container.
BOOL IsClassContainer( LPCWSTR pszObjectClass, LPCWSTR pszAdsPath, DWORD dwFlags );
The method returns TRUE if the specified class is a container. Otherwise it returns FALSE.
The method uses the schema information and/or a display specifier attribute to determine if an object class is a container. The class is a container if the schema indicates that the class can contain other objects. The "treatAsLeaf" attribute found in the display specifier is used to override this setting. This applies to both the admin tools and client UI.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsclient.h.
Library: Included as a resource in Dsuiext.dll.