SECURITY_ATTRIBUTES Members

Include Protected Members
Include Inherited Members

Contains the security descriptor of an object and specifies whether the handle retrieved by specifying this structure is inheritable.

The SECURITY_ATTRIBUTES type exposes the following members.

Methods

 

Name

Description

Public method

Equals

Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code for this instance. (Inherited from ValueType.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

 

Name

Description

Public field

bInheritHandle

A boolean value that specifies whether the returned handle is inherited when a new process is created. If this field is true, the new process inherits the handle.

Public field

lpSecurityDescriptor

A pointer to a SECURITY_DESCRIPTOR structure that controls access to the object. If the value of this member is nulla null reference (Nothing in Visual Basic), 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 nulla null reference (Nothing in Visual Basic) discretionary access control list (DACL). The default DACL in the access token of a process allows access only to the user represented by the access token.

Public field

nLength

The size, in bytes, of this structure. Set this value to the size of this structure.

Top

See Also

Reference

SECURITY_ATTRIBUTES Structure

Microsoft.VisualStudio.OLE.Interop Namespace