Hi
I am using ActiveDs to set security. Following is the code snippet
that I am using
ActiveDs.IADsAc cessControlList obDacl = ( ActiveDs.IADsAc cessControlList )
securitydescrip tor.Discretiona ryAcl;
Allow = new AccessControlEn tryClass();
//For recursive security settings
Allow.AceFlags = 3;
//ACE is allow type
Allow.AceType = (int)ADS_ACETYP E_ENUM.ADS_ACET YPE_ACCESS_ALLO WED;
By setting Allow.AceFlags to
(int)ADS_ACEFLA G_ENUM.ADS_ACEF LAG_NO_PROPAGAT E_INHERIT_ACE
I can switch inheritance off but at the same time I have to give acetype and
the trustee name. I just want to turn the inheritance off without adding any
ace.
Can anyone please help me?
Thanks,
Ashish
I am using ActiveDs to set security. Following is the code snippet
that I am using
ActiveDs.IADsAc cessControlList obDacl = ( ActiveDs.IADsAc cessControlList )
securitydescrip tor.Discretiona ryAcl;
Allow = new AccessControlEn tryClass();
//For recursive security settings
Allow.AceFlags = 3;
//ACE is allow type
Allow.AceType = (int)ADS_ACETYP E_ENUM.ADS_ACET YPE_ACCESS_ALLO WED;
By setting Allow.AceFlags to
(int)ADS_ACEFLA G_ENUM.ADS_ACEF LAG_NO_PROPAGAT E_INHERIT_ACE
I can switch inheritance off but at the same time I have to give acetype and
the trustee name. I just want to turn the inheritance off without adding any
ace.
Can anyone please help me?
Thanks,
Ashish