Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

WinLib.Utils.SetPrivilege

Andrew edited this page Apr 4, 2014 · 2 revisions

#WinLib.Utils.SetPrivilege

##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

Clone this wiki locally