SECURITY_ATTRIBUTES Structure

 

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

Namespace:   Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

[ComConversionLossAttribute]
public struct SECURITY_ATTRIBUTES

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldbInheritHandle

Determines whether the returned handle is inherited when a new process is created. If this field is set to a non-zero value, the new process inherits the handle. If it is 0, the new process does not inherit the handle.

System_CAPS_pubfieldlpSecurityDescriptor

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). The default DACL in the access token of a process allows access only to the user represented by the access token.

System_CAPS_pubfieldnLength

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

A security descriptor contains security information that identifies the object's owner and primary group. It can also contain a DACL that controls access to the object, and a SACL that controls the logging of attempts to access the object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: