@Override public String getDomainName () { if ( this.origin_server != null ) resolveWeak(); if ( this.type == SID_TYPE_UNKNOWN ) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return this.domainName; }
@Override public String getDomainName () { if ( this.origin_server != null ) resolveWeak(); if ( this.type == SID_TYPE_UNKNOWN ) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return this.domainName; }
/** * Return the domain name of this SID unless it could not be * resolved in which case the numeric representation is returned. */ public String getDomainName() { if (origin_server != null) resolveWeak(); if (type == SID_TYPE_UNKNOWN) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return domainName; }
/** * Return the domain name of this SID unless it could not be * resolved in which case the numeric representation is returned. */ public String getDomainName() { if (origin_server != null) resolveWeak(); if (type == SID_TYPE_UNKNOWN) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return domainName; }
/** * Return the domain name of this SID unless it could not be * resolved in which case the numeric representation is returned. */ public String getDomainName() { if (origin_server != null) resolveWeak(); if (type == SID_TYPE_UNKNOWN) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return domainName; }
/** * Return the domain name of this SID unless it could not be * resolved in which case the numeric representation is returned. */ public String getDomainName() { if (origin_server != null) resolveWeak(); if (type == SID_TYPE_UNKNOWN) { String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return domainName; }