6 references to UserName
System.Diagnostics.Process (6)
System\Diagnostics\Process.Unix.cs (6)
391
bool setCredentials = !string.IsNullOrEmpty(startInfo.
UserName
);
969
Debug.Assert(!string.IsNullOrEmpty(startInfo.
UserName
));
971
(uint? userId, uint? groupId) = GetUserAndGroupIds(startInfo.
UserName
);
976
throw new Win32Exception(SR.Format(SR.UserDoesNotExist, startInfo.
UserName
));
979
uint[]? groups = Interop.Sys.GetGroupList(startInfo.
UserName
, groupId!.Value);
982
throw new Win32Exception(SR.Format(SR.UserGroupsCannotBeDetermined, startInfo.
UserName
));