Platform SDK: Active Directory, ADSI, and Directory Services |
The IDsDisplaySpecifier::GetFriendlyAttributeName method retrieves from the display specifier the localized (friendly) string value of the attributeNames property of a given object class.
HRESULT GetFriendlyAttributeName( LPCWSTR pszObjectClass, LPCWSTR pszAttributeName, LPWSTR pszBuffer, UINT cchBuffer );
The method returns an HRESULT value.
This method looks up the display specifier of the class to check the attributeNames property for a property name pair that matches the given attribute name. If the match is not found, the input attribute name is returned instead.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsclient.h.
Library: Included as a resource in Dsuiext.dll.