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