Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getGroupSids (0.05 sec)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            // Setup to return empty arrays
            when(logonInfo.getGroupSids()).thenReturn(new SID[0]);
            when(logonInfo.getExtraSids()).thenReturn(new SID[0]);
            when(logonInfo.getResourceGroupSids()).thenReturn(new SID[0]);
    
            // These should return empty arrays, not null
            assertNotNull(logonInfo.getGroupSids());
            assertEquals(0, logonInfo.getGroupSids().length);
    
            assertNotNull(logonInfo.getExtraSids());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

        public SID getGroupSid() {
            return this.groupSid;
        }
    
        /**
         * Returns an array of group SIDs the user belongs to.
         * @return the group SIDs array
         */
        public SID[] getGroupSids() {
            return this.groupSids;
        }
    
        /**
         * Returns an array of resource group SIDs the user belongs to.
         * @return the resource group SIDs array
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top