Unable to create new user using Epicor Function

Use Ice.UserFile → Link Thanks @Chris_Conn

<tracePacket>
  <businessObject>Ice.Proxy.BO.UserFileImpl</businessObject>
  <methodName>GetNewUserFile</methodName>

<tracePacket>
  <businessObject>Ice.Proxy.BO.UserFileImpl</businessObject>
  <methodName>Update</methodName>

Otherwise you will get errors about payroll manager priviledges.

As well as you had the errors @mbayley said. You weren’t referencing svcUF.

CallService<Ice.Contracts.UserFileSvcContract>(svcUF =>
{ 
    Ice.Tablesets.UserFileTableset ds = new Ice.Tablesets.UserFileTableset();
    svcUF.GetNewUserFile(ref ds);
    ds.UserFile[0].UserID = "Test";
    ds.UserFile[0].Name = "Test";
    ds.UserFile[0].Address1 = "India";
    
    svcUF.Update(ref ds);
});