Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getOwnerUser (0.2 sec)

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

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

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

                }
    
                return aces;
            }
        }
    
    
        @Override
        public SID getOwnerUser () throws IOException {
            return getOwnerUser(true);
        }
    
    
        @Override
        public SID getOwnerUser ( boolean resolve ) throws IOException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * SIDs together and detect network failures.
     */
        public ACE[] getSecurity() throws IOException {
            return getSecurity(false);
        }
    
        public SID getOwnerUser() throws IOException {
    
            int f = open0(O_RDONLY, READ_CONTROL, 0, isDirectory() ? 1 : 0);
    
            /*
             * NtTrans Query Security Desc Request / Response
             */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top