- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for getAccountName (0.09 seconds)
-
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
public int getRid() { return 0; } @Override public String toDisplayString() { return getDomainName() + "\\" + getAccountName(); } @Override public String getAccountName() { return "Test User"; } @Override public String getDomainName() { return "WORKGROUP"; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals("DOM", s1.getDomainName()); assertEquals("user1", s1.getAccountName()); assertEquals("DOM", s2.getDomainName()); assertEquals("user2", s2.getAccountName()); assertEquals("DOM", s3.getDomainName()); assertEquals("userX", s3.getAccountName()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/main/java/jcifs/SID.java
* * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public interface SID { /** * SID type indicating no type information. */ int SID_TYPE_USE_NONE = 0; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
} if (this.type == SID_TYPE_UNKNOWN) { final String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return this.domainName; } @Override public String getAccountName() { if (this.origin_server != null) { resolveWeak(); } if (this.type == SID_TYPE_UNKNOWN) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("30", unknown.getAccountName()); // Domain type: domain name as-is, account name empty SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "MYDOM", "ignored", false); assertEquals("MYDOM", domain.getDomainName()); assertEquals("", domain.getAccountName()); // User in regular domain
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public class SID extends rpc.sid_t { /** * SID type indicating no type information. */ public static final int SID_TYPE_USE_NONE = lsarpc.SID_NAME_USE_NONE;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/main/java/jcifs/SidResolver.java
* The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. * @throws CIFSException if there is an error resolving the SIDs */ void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
* The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. */ @Override public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids) throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
// ignore } } final Integer id = fessConfig.getAvailableSmbSidType(type); if (id != null) { return createSearchRole(id, sid.getAccountName()); } if (logger.isDebugEnabled()) { logger.debug("Ignored SID: {} {}", type, sid); } return null; } /** * Gets the account ID from a SID.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
SID sid = new SID(rpcSid, SID.SID_TYPE_USER, "DOMAIN", "user", false); assertEquals("user", sid.getAccountName()); SID domainSid = new SID(rpcSid, SID.SID_TYPE_DOMAIN, "DOMAIN", null, false); assertEquals("", domainSid.getAccountName()); SID unknownSid = new SID(rpcSid, SID.SID_TYPE_UNKNOWN, null, null, false); unknownSid.sub_authority_count = 1;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0)