/** * Gets the user groups. * * @return the user groups */ private Account[] getUserGroups() { if (this.userGroups == null) { this.userGroups = Advapi32Util.getTokenGroups(this.windowsIdentity); } return this.userGroups.clone(); }
/** * Gets the user groups. * * @return the user groups */ private Account[] getUserGroups() { if (this.userGroups == null) { this.userGroups = Advapi32Util.getTokenGroups(this.windowsIdentity); } return this.userGroups.clone(); }
/** * Gets the user groups. * * @return the user groups */ private Account[] getUserGroups() { if (this.userGroups == null) { this.userGroups = Advapi32Util.getTokenGroups(this.windowsIdentity); } return this.userGroups.clone(); }
return getTokenGroups(phToken.getValue()); } finally { if (phToken.getValue() != WinBase.INVALID_HANDLE_VALUE) {
return getTokenGroups(phToken.getValue()); } catch(Win32Exception e) { err = e;