Connect to PISystem from webpart

Discussion created by nfilatov on May 30, 2011
Latest reply on Jun 1, 2011 by andreas



I try to connect to default PISystem from webapart, but I can't. If I set connect from local computer I write that code:

PISystems systems = new PISystems (); 
PISystem system = systems.DefaultPISystem; 



But when I launch portal page with webpart on this computer it is not connecting that way. Could I connect to default PISystem from webpart without using NetworkCredentials and without input account and password informatation?