public abstract class AccCtrl.SE_OBJECT_TYPE
The SE_OBJECT_TYPE enumeration contains values that correspond to the
types of Windows objects that support security. The functions, such as
GetSecurityInfo and SetSecurityInfo, that set and retrieve the security
information of an object, use these values to indicate the type of object.
Indicates a file or directory. The name string that identifies a
file or directory object can be in one of the following formats:
A relative path, such as FileName.dat or ..\FileName
An absolute path, such as FileName.dat, C:\DirectoryName\FileName.dat,
A UNC name, such as \\ComputerName\ShareName\FileName.dat.
Indicates a registry key. A registry key object can be in the local
registry, such as CLASSES_ROOT\SomePath or in a remote registry,
such as \\ComputerName\CLASSES_ROOT\SomePath.
The names of registry keys must use the following literal strings to
identify the predefined registry keys: "CLASSES_ROOT", "CURRENT_USER",
"MACHINE", and "USERS".
Indicates a local kernel object. The GetSecurityInfo and
SetSecurityInfo functions support all types of kernel objects.
The GetNamedSecurityInfo and SetNamedSecurityInfo functions work
only with the following kernel objects: semaphore, event, mutex,
waitable timer, and file mapping.
Indicates a window station or desktop object on the local computer.
You cannot use GetNamedSecurityInfo and SetNamedSecurityInfo with
these objects because the names of window stations or desktops are
Indicates a directory service object or a property set or property
of a directory service object. The name string for a directory service
object must be in X.500 form, for example: