List Info

Thread: Creating Users




Creating Users
user name
2006-03-07 18:26:53
I need to write a script to create users. But, I am having problems performing a fetch on the user command. First I thought of using this:
 

require P4;
my $p4 = new P4;
 
$p4->ParseForms();
$p4->Connect or die ( "Failed to connect to Perforce Server" );

my $fetched = $p4->FetchUser( "-f testUser" );
...

 
Nothing is returned by the call to FetchUser. I assume it has to do with the force option. Is there a way to do this when creating new users?
 
Thanks.....
 
Scott Lavender | SCM Specialist | Visiprise | office: 770.619.4166 | www.visiprise.com
 

It is our company policy not to accept email of any data controlled by the International Traffic in Arms Regulations (ITAR). Please contact our Security Officer, Matt Reeves, for instructions and authorization to transmit such data.

 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )