Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CommonSecurityDescriptor() [3/5]

System.Security.AccessControl.CommonSecurityDescriptor.CommonSecurityDescriptor ( bool isContainer,
bool isDS,
RawSecurityDescriptor rawSecurityDescriptor,
bool trusted )
inlinepackage

Definition at line 187 of file CommonSecurityDescriptor.cs.

188 {
189 if (rawSecurityDescriptor == null)
190 {
191 throw new ArgumentNullException("rawSecurityDescriptor");
192 }
193 CreateFromParts(isContainer, isDS, rawSecurityDescriptor.ControlFlags, rawSecurityDescriptor.Owner, rawSecurityDescriptor.Group, (rawSecurityDescriptor.SystemAcl == null) ? null : new SystemAcl(isContainer, isDS, rawSecurityDescriptor.SystemAcl, trusted), (rawSecurityDescriptor.DiscretionaryAcl == null) ? null : new DiscretionaryAcl(isContainer, isDS, rawSecurityDescriptor.DiscretionaryAcl, trusted));
194 }
void CreateFromParts(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier owner, SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl)

References System.Security.AccessControl.RawSecurityDescriptor.ControlFlags, System.Security.AccessControl.CommonSecurityDescriptor.CreateFromParts(), System.Security.AccessControl.CommonSecurityDescriptor.DiscretionaryAcl, System.Security.AccessControl.RawSecurityDescriptor.DiscretionaryAcl, System.Security.AccessControl.RawSecurityDescriptor.Group, System.Security.AccessControl.RawSecurityDescriptor.Owner, System.Security.AccessControl.CommonSecurityDescriptor.SystemAcl, and System.Security.AccessControl.RawSecurityDescriptor.SystemAcl.