Directory Services |
The IDsDisplaySpecifier::EnumClassAttributes method enumerates the attributes for a given object class. The enumeration provides both the LDAP and localized names of each attribute.
HRESULT EnumClassAttributes( LPCWSTR pszObjectClass, LPDSENUMATTRIBUTES pcbEnum, LPARAM lParam );
Return Code | Description |
---|---|
S_OK | The method was successful. |
E_FAIL | An unspecified error occurred. |
E_INVALIDARG | One or more parameters are invalid. |
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsclient.h.
DSEnumAttributesCallback, IDsDisplaySpecifier, Active Directory Display Interfaces