mirror of
https://github.com/akruhler/AccountManagement.git
synced 2026-04-25 16:45:58 +03:00
[GH-ISSUE #3] Change own password without elevation #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AccountManagement#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Anton-V-K on GitHub (Apr 16, 2022).
Original GitHub issue: https://github.com/akruhler/AccountManagement/issues/3
Is your feature request related to a problem? Please describe.

Ordinary user cannot change own password when running the program without administrative priviledges (without elevation).
Following error is shown:
Describe the solution you'd like
The program should allow changing own password without elevation.
Describe alternatives you've considered
Windows allows the user to change own password without elevation.
@akruhler commented on GitHub (Apr 17, 2022):
Thanks for your request! While it is possible to invoke the ChangePassword() function to change one's password instead of setting it, this function unfortunately can't be invoked without administrative rights either, even when used on the currently logged in user. The only benefit of this feature being added would consequently be that it allows to change passwords without potential loss of login credentials, provided you know the old account password of course. But since the user could change the password by himself through logging in, it most probably would be an obsolete feature to add.