This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Commit 6eaf4fa
committed
Fix for #2989
For using an SID as parameter - which is better because of potential i18n issue with role name - "isInRole()" expect a "System.Security.Principal.SecurityIdentifier" object instead of a "String".
That's because of this error that isHypervAdministrator() always return false and and consequently "Administrator" role is requested.
Signed-off-by: Olivier Bourgeat <olivier.bourgeat@laposte.net>1 parent b170508 commit 6eaf4fa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments