Directory Services

ADS_SD_FORMAT_ENUM

The ADS_SD_FORMAT_ENUM enumeration specifies the format that the security descriptor of an object will be converted to by the IADsSecurityUtility interface.

typedef enum 
{
  ADS_SD_FORMAT_IID = 1, 
  ADS_SD_FORMAT_RAW = 2, 
  ADS_SD_FORMAT_HEXSTRING = 3
} ADS_SD_FORMAT_ENUM;

Values

ADS_SD_FORMAT_IID
Indicates that the security descriptor is to be converted to the IADsSecurityDescriptor interface format. If ADS_SD_FORMAT_IID is used as the input format when setting the security descriptor, the variant passed in is expected to be a VT_DISPATCH, where the dispatch pointer supports the IADsSecurityDescriptor interface
ADS_SD_FORMAT_RAW
Indicates that the security descriptor is to be converted to the binary format.
ADS_SD_FORMAT_HEXSTRING
Indicates that the security descriptor is to be converted to the hex encoded string format.

Requirements

Client: Included in Windows XP.
Server: Included in Windows Server 2003.
Header: Declared in Dsadmin.h.

See Also

ADSI Enumerations, ADS_PATHTYPE_ENUM, IADsSecurityDescriptor, IADsSecurityUtility, Retrieving, Setting, or Modifying Security Descriptors on File Systems, File Shares, and Registry Keys