WinLib.Utils.SetPrivilege - charonn0/WinLib GitHub Wiki
##Method Signature Protected Function SetPrivilege(Privilegename As String, Enabled As Boolean) As Boolean
##Parameters
| Name | Type | Comment |
|---|---|---|
| PrivilegeName | String |
A privilege name constant |
| Enabled | Boolean |
Enable or disable the privilege |
##Return value
Returns True on success.
##Notes Modifies the security token of the application, enabling or disabling the specified privilege.
##See also