[p4] delete a user
Weintraub, David
david.weintraub at bofasecurities.com
Wed Oct 11 06:38:57 PDT 2006
Use the following command:
$ p4 opened -a
Which will list all opened files from all clients. Then, you can filter
the output by looking at the name and client of the user who has the
file opened in the form of <userId>@<perforceClient>.
If you're using Unix or Cygwin, you could do something like this:
$ p4 opened -a | grep "P4USER@[^ ][^ ]*$"
Where "P4USER" is the name of the user who has the opened file. This
will show you the name of the file and the Perforce client which has
that file opened.
To see just the names of the clients with the files opened by that user,
do this:
$ p4 opened -a | grep "P4USER@[^ ][^ ]*$" | sed 's/.*@//' | sort
-u
If you're on Windows and you've got p4reports installed, you could use
p4sql:
C:> p4sql -s "select client from opened where user = 'P4USER'"
Again, replace "P4USER" with the actual user ID.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sudheer R.
Palagiri
Sent: Wednesday, October 11, 2006 9:09 AM
To: perforce-user at perforce.com
Subject: [p4] delete a user
Hi,
I am trying to delete a user from perforce, As user id has open files I
am unable to do so?
I have deleted all the client spec for the user to be deleted.
Can any one tell me on how to identify the files pending to be
submitted.
Thanks inadvance,
Sudheer
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list