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

Hardcoding "Users" in UserAddEx makes the function fail on non-english devices #63

Open
Morgane55440 opened this issue Oct 23, 2023 · 0 comments

Comments

@Morgane55440
Copy link

Groups on non-english computers, are named according to the device's language, and as such there generally isn't any group named "User". for example, on my french work computer, the corresponding group is called "Utilisateurs".

Thus it is impossible to add a user to the "User" group, and if you try it results in the error code "unable to process. 2220" as one would expect.

this problem is also found in the functions setAdmin and RevokeAdmin.
i have just started using this lib and i therefore do not know how prevalent similar issues may or may not be.

while i have yet to find a solution, i am looking into using SIDs, as mentioned in this stackoverflow thread

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

No branches or pull requests

1 participant