public void PurgeAudit(SecurityIdentifier sid)
 {
     if (SystemAcl != null)
     {
         SystemAcl.Purge(sid);
     }
 }
Esempio n. 2
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            ArgumentNullException.ThrowIfNull(sid);

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
        public void PurgeAudit(SecurityIdentifier sid)
        {
            if (sid == null)
            {
                throw new ArgumentNullException(nameof(sid));
            }

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
Esempio n. 4
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            if (sid == null)
            {
                throw new ArgumentNullException("sid");
            }
            Contract.EndContractBlock();

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
Esempio n. 5
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            ArgumentNullException.ThrowIfNull(sid);

            SystemAcl?.Purge(sid);
        }