Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getOwnerUser (0.15 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    try {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Parsing SmbFile Owner: {}", filePath);
                        }
                        final SID ownerUser = file.getOwnerUser();
                        if (ownerUser != null) {
                            final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() };
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. 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);
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    try {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Parsing SmbFile Owner: {}", filePath);
                        }
                        final SID ownerUser = file.getOwnerUser();
                        if (ownerUser != null) {
                            final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() };
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. 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;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  5. 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() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. 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
             */
    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