Exemple #1
0
        public void GiveOwnershipToAdministrators(string fileName)
        {
            var username = _credentialsProvider.GetAccountAdministratorUserName();

            SetOwnership(fileName, username);
            GrantFullAccessToFile(fileName, username);
        }