Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform: add mapping of USER_INFO_10 structure to LMAccess #178

Merged
merged 3 commits into from
Jan 20, 2013
Merged

platform: add mapping of USER_INFO_10 structure to LMAccess #178

merged 3 commits into from
Jan 20, 2013

Conversation

davidmc24
Copy link
Contributor

This pull request adds a mapping of the USER_INFO_10 structure to the platform component. I ended up needing this as I was trying to enumerate users using Netapi32.NetUserEnum, and was getting error code 124 when I used level 23. I suspect that the cause of the error code was operating system and/or domain controller configuration specific. Regardless, other levels worked fine for me. USER_INFO_0 and USER_INFO_1 were already supported, but neither includes access to the user's full name, which USER_INFO_10 does.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa371010(v=vs.85).aspx

@dblock
Copy link
Member

dblock commented Jan 20, 2013

Great. Can you please update CHANGES.md?

@davidmc24
Copy link
Contributor Author

@dblock CHANGES.md updated.

dblock added a commit that referenced this pull request Jan 20, 2013
platform: add mapping of USER_INFO_10 structure to LMAccess
@dblock dblock merged commit 3f7e52a into java-native-access:master Jan 20, 2013
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
Motivation:

A new version of the os-maven-plugin was released

Modifications:

Update to new version

Result:

Use latest version
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