Directory Services

ADS_PATHTYPE_ENUM

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

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

Values

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

Requirements

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

See Also

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