ADS_SD_FORMAT_ENUM enumeration (iads.h)

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

Syntax

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

Constants

 
ADS_SD_FORMAT_IID
Value: 1
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
Value: 2
Indicates that the security descriptor is to be converted to the binary format.
ADS_SD_FORMAT_HEXSTRING
Value: 3
Indicates that the security descriptor is to be converted to the hex encoded string format.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Enumerations

ADS_PATHTYPE_ENUM

IADsSecurityDescriptor

IADsSecurityUtility

Security Descriptors on Files and Registry Keys