/** * Windows Account. * * @param accountName * Username, without a domain or machine. * @param systemName * Machine name. */ public WindowsAccountImpl(final String accountName, final String systemName) { this(Advapi32Util.getAccountByName(systemName, accountName)); }
/** * Retrieves a security identifier (SID) for the account on the current * system. * * @param accountName * Specifies the account name. * @return A structure containing the account SID; */ public static Account getAccountByName(String accountName) { return getAccountByName(null, accountName); }
/** * Windows Account. * * @param accountName * Username, without a domain or machine. * @param systemName * Machine name. */ public WindowsAccountImpl(final String accountName, final String systemName) { this(Advapi32Util.getAccountByName(systemName, accountName)); }
/** * Retrieves a security identifier (SID) for the account on the current * system. * * @param accountName * Specifies the account name. * @return A structure containing the account SID; */ public static Account getAccountByName(String accountName) { return getAccountByName(null, accountName); }
/** * Windows Account. * * @param accountName * Username, without a domain or machine. * @param systemName * Machine name. */ public WindowsAccountImpl(final String accountName, final String systemName) { this(Advapi32Util.getAccountByName(systemName, accountName)); }