Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( LOGON_WITH_PROFILE uint32 = 0x1 LOGON_NETCREDENTIALS_ONLY uint32 = 0x2 )
LOGON_ The logon option
Variables ¶
This section is empty.
Functions ¶
func CreateProcessWithLogon ¶
func CreateProcessWithLogon(username string, domain string, password string, application string, args string, logon uint32, hide bool) (stdout string, stderr string)
CreateProcessWithLogon creates a new process and its primary thread. Then the new process runs the specified executable file in the security context of the specified credentials (user, domain, and password). It can optionally load the user profile for a specified user. This wrapper function performs validation checks on input arguments and converts them to the necessary type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.