Directory Services |
The ADS_ATTR_INFO structure holds the value of a named attribute as well as data about operations performed on the attribute.
typedef struct _ADS_ATTR_INFO {
LPWSTR pszAttrName;
DWORD dwControlCode;
ADSTYPE dwADsType;
PADSVALUE pADsValues;
DWORD dwNumValues; } ADS_ATTR_INFO,
*PADS_ATTR_INFO;
In ADSI, attributes and properties are used interchangeably. Set attributes, when creating a directory service object, using the IDirectoryObject::CreateDSObject method. The IDirectoryObject interface also supports the IDirectoryObject::GetObjectAttributes and IDirectoryObject::SetObjectAttributes methods for retrieving and modifying the attributes of the object in a directory.
Memory for the array of ADSVALUE structures is not allocated with this structure.
The value of the dwControlCode member is ignored when the structure is used as an OUT parameter.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension
on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.
ADSI Constants, ADSI Structures, ADSI Attribute Modification Types, ADSTYPEENUM, IDirectoryObject, IDirectoryObject::CreateDSObject, IDirectoryObject::GetObjectAttributes, IDirectoryObject::SetObjectAttributes