Visitar URL original
Add getTokenPrimaryGroup to Advapi32Util by dbwiddis · Pull Request #1191 · java-native-access/jna · GitHub
Skip to content

Add getTokenPrimaryGroup to Advapi32Util - #1191

Merged
matthiasblaesing merged 2 commits into
java-native-access:masterfrom
dbwiddis:primarygroup
May 15, 2020
Merged

matthiasblaesing merged 2 commits into
java-native-access:masterfrom
dbwiddis:primarygroup

Conversation

@dbwiddis

Copy link
Copy Markdown
Contributor

The current Advapi32Util#getTokenGroups method can incur significant latency, 20-45 seconds on my corporate machine. Only asking for the primary group is on the order of 20-45 milliseconds.

@matthiasblaesing

Copy link
Copy Markdown
Member

Looks good to me.

@matthiasblaesing
matthiasblaesing merged commit c33d3f0 into java-native-access:master May 15, 2020
@dbwiddis
dbwiddis deleted the primarygroup branch January 11, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants