コード例 #1
0
        public virtual void TestUGIProperties()
        {
            UserGroupInformation user = UserGroupInformation.GetCurrentUser();
            ACL acl = registrySecurity.CreateACLForUser(user, ZooDefs.Perms.All);

            NUnit.Framework.Assert.IsFalse(RegistrySecurity.AllReadwriteAccess.Equals(acl));
            Log.Info("User {} has ACL {}", user, acl);
        }