Click or drag to resize

Utils_ACLCanonicalizeDacl Method

Ensures access rules are canonical on the security object. Access control entries are ordered to meet this requirement. Necessary to avoid 'non-canonical acl' bug during installation : "This access control list is not in canonical form and therefore cannot be modified". 'https://stackoverflow.com/questions/8126827/how-do-you-programmatically-fix-a-non-canonical-acl'

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static void CanonicalizeDacl(
	NativeObjectSecurity objectSecurity
)

Parameters

objectSecurity
Type: System.Security.AccessControlNativeObjectSecurity
The object security object to be made canonical
Exceptions
ExceptionCondition
InvalidOperationExceptionThe DACL cannot be canonicalized since it would potentially result in a loss of information
See Also