System.DirectoryServices.ActiveDirectoryAccessRule
System.DirectoryServices.ActiveDirectoryAccessRule($TrusteeSID,"ExtendedRight",$AccessControlTypeAllow,$Allowed2AuthGUID) // Where: $Allowed2AuthGUID =68b1d179-0d15-4d4f-ab71-46152e79a7bc $AccessControlTypeAllow= [System.Security.AccessControl.AccessControlType]::Allow $trusteeSID= <sid of the user being granted the right>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)