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