Click or drag to resize
Xcalibur Systems LLC Logo

SecurityAttributes Structure

The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.

SECURITY_ATTRIBUTES structure

Inheritance Hierarchy
SystemObject
  SystemValueType
    Xcalibur.NativeMethods.V2.SecuritySecurityAttributes

Namespace: Xcalibur.NativeMethods.V2.Security
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public struct SecurityAttributes

The SecurityAttributes type exposes the following members.

Methods
 NameDescription
Public methodEquals
(Inherited from ValueType)
Public methodGetHashCode
(Inherited from ValueType)
Public methodGetType
(Inherited from Object)
Public methodToString
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldIsHandleInherited A Boolean value that specifies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the handle.
Public fieldLength The size, in bytes, of this structure. Set this value to the size of the structure.
Public fieldSecurityDescriptor A pointer to a SECURITY_DESCRIPTOR structure that controls access to the object. If the value of this member is NULL, the object is assigned the default security descriptor associated with the access token of the calling process. This is not the same as granting access to everyone by assigning a NULL discretionary access control list (DACL). By default, the default DACL in the access token of a process allows access only to the user represented by the access token.
Top
See Also