Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getOwnerGroup (0.17 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        @Test
        public void testGetGroup () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                try {
                    jcifs.SID security = f.getOwnerGroup();
                    assertNotNull(security);
                }
                catch ( SmbUnsupportedOperationException e ) {
                    Assume.assumeTrue("No Ntsmbs", false);
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * @throws IOException
         */
        SID getOwnerGroup () throws IOException;
    
    
        /**
         * Return the owner group SID for this file or directory
         * 
         * @param resolve
         *            whether to resolve the group name
         * @return the owner group SID, <code>null</code> if not present
         * @throws IOException
         */
        SID getOwnerGroup ( boolean resolve ) throws IOException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/SmbFile.java

                }
                return ownerUser;
            }
        }
    
    
        @Override
        public SID getOwnerGroup () throws IOException {
            return getOwnerGroup(true);
        }
    
    
        @Override
        public SID getOwnerGroup ( boolean resolve ) throws IOException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            close(f, 0L);
    
            response.securityDescriptor.owner_user.resolve(getServerWithDfs(), auth);
            return response.securityDescriptor.owner_user;
        }
    
        public SID getOwnerGroup() throws IOException {
    
            int f = open0(O_RDONLY, READ_CONTROL, 0, isDirectory() ? 1 : 0);
    
            /*
             * NtTrans Query Security Desc Request / Response
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top