ADS_PATHTYPE_ENUM enumeration (iads.h)

The ADS_PATHTYPE_ENUM enumeration specifies the type of object on which the IADsSecurityUtility interface is going to add or modify a security descriptor.

Syntax

typedef enum __MIDL___MIDL_itf_ads_0001_0088_0001 {
  ADS_PATH_FILE = 1,
  ADS_PATH_FILESHARE = 2,
  ADS_PATH_REGISTRY = 3
} ADS_PATHTYPE_ENUM;

Constants

 
ADS_PATH_FILE
Value: 1
Indicates that the security descriptor will be retrieved or set on a file object.
ADS_PATH_FILESHARE
Value: 2
Indicates that the security descriptor will be retrieved or set on a file share object.
ADS_PATH_REGISTRY
Value: 3
Indicates that the security descriptor will be retrieved or set on a registry key object.

Requirements

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

See also

ADSI Enumerations

ADS_SD_FORMAT_ENUM

IADsSecurityUtility

Security Descriptors on Files and Registry Keys