public void PurgeAudit(SecurityIdentifier sid)
 {
     if (SystemAcl != null)
     {
         SystemAcl.Purge(sid);
     }
 }
Пример #2
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            ArgumentNullException.ThrowIfNull(sid);

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
Пример #3
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            if (sid == null)
            {
                throw new ArgumentNullException(nameof(sid));
            }

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
Пример #4
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            if (sid == null)
            {
                throw new ArgumentNullException("sid");
            }
            Contract.EndContractBlock();

            if (SystemAcl != null)
            {
                SystemAcl.Purge(sid);
            }
        }
Пример #5
0
        public void PurgeAudit(SecurityIdentifier sid)
        {
            ArgumentNullException.ThrowIfNull(sid);

            SystemAcl?.Purge(sid);
        }