Process.setUser

Run process as specified user

If this method applied, then the UID and GID to run process with will be taked from record in passwd database

struct Process
version(Posix)
ref @trusted
setUser
(
in string username
)

Parameters

username string

login of user to run process as

Return Value

Type: auto ref

reference to this (process instance)

Meta