Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ObjectAce Constructor
Collapse the table of content
Expand the table of content

ObjectAce Constructor

Initiates a new instance of the ObjectAce class.

Namespace:  System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public ObjectAce(
	AceFlags aceFlags,
	AceQualifier qualifier,
	int accessMask,
	SecurityIdentifier sid,
	ObjectAceFlags flags,
	Guid type,
	Guid inheritedType,
	bool isCallback,
	byte[] opaque
)

Parameters

aceFlags
Type: System.Security.AccessControl.AceFlags

The inheritance, inheritance propagation, and auditing conditions for the new Access Control Entry (ACE).

qualifier
Type: System.Security.AccessControl.AceQualifier

The use of the new ACE.

accessMask
Type: System.Int32

The access mask for the ACE.

sid
Type: System.Security.Principal.SecurityIdentifier

The SecurityIdentifier associated with the new ACE.

flags
Type: System.Security.AccessControl.ObjectAceFlags

Whether the type and inheritedType parameters contain valid object GUIDs.

type
Type: System.Guid

A GUID that identifies the object type to which the new ACE applies.

inheritedType
Type: System.Guid

A GUID that identifies the object type that can inherit the new ACE.

isCallback
Type: System.Boolean

true if the new ACE is a callback type ACE.

opaque
Type: System.Byte[]

Opaque data associated with the new ACE. This is allowed only for callback ACE types. The length of this array must not be greater than the return value of the MaxOpaqueLength method.

ExceptionCondition
ArgumentOutOfRangeException

The qualifier parameter contains an invalid value or the length of the value of the opaque parameter is greater than the return value of the MaxOpaqueLength method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft