Documentation ¶
Index ¶
- func AdminGroupName() string
- func DoAsService(serviceName string, f func() error) error
- func DoAsSystem(f func() error) error
- func DropAllPrivileges(retainDriverLoading bool) error
- func IsAdminDesktop() (bool, error)
- func ShellExecute(program string, arguments string, directory string, show int32) (err error)
- func TokenIsElevatedOrElevatable(token windows.Token) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminGroupName ¶
func AdminGroupName() string
func DoAsService ¶
func DoAsSystem ¶
func DropAllPrivileges ¶
func IsAdminDesktop ¶
func ShellExecute ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.