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, arguments, 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 ¶ added in v0.0.24
func AdminGroupName() string
func DoAsService ¶ added in v0.0.36
func DoAsSystem ¶ added in v0.0.36
func DropAllPrivileges ¶
func IsAdminDesktop ¶ added in v0.0.24
func ShellExecute ¶
func TokenIsElevatedOrElevatable ¶ added in v0.0.24
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.