@Override public IWindowsAccount lookupAccount(final String username) { return new WindowsAccountImpl(username); }
@Override public IWindowsAccount lookupAccount(final String username) { return new WindowsAccountImpl(username); }
@Override public IWindowsAccount lookupAccount(final String username) { return new WindowsAccountImpl(username); }
@Override public IWindowsAccount[] getGroups() { final Account[] groups = this.getUserGroups(); final List<IWindowsAccount> result = new ArrayList<>(groups.length); for (final Account userGroup : groups) { final WindowsAccountImpl account = new WindowsAccountImpl(userGroup); result.add(account); } return result.toArray(new IWindowsAccount[0]); }
@Override public IWindowsAccount[] getGroups() { final Account[] groups = this.getUserGroups(); final List<IWindowsAccount> result = new ArrayList<>(groups.length); for (final Account userGroup : groups) { final WindowsAccountImpl account = new WindowsAccountImpl(userGroup); result.add(account); } return result.toArray(new IWindowsAccount[0]); }
@Override public IWindowsAccount[] getGroups() { final Account[] groups = this.getUserGroups(); final List<IWindowsAccount> result = new ArrayList<>(groups.length); for (final Account userGroup : groups) { final WindowsAccountImpl account = new WindowsAccountImpl(userGroup); result.add(account); } return result.toArray(new IWindowsAccount[0]); }
this.addAccountInfo(doc, child, new WindowsAccountImpl(currentUsername));
this.addAccountInfo(doc, child, new WindowsAccountImpl(currentUsername));
this.addAccountInfo(doc, child, new WindowsAccountImpl(currentUsername));